<el-tooltip class="item" effect="light" placement="top-start">
<div slot="content" style="dispaly:flex;max-width:15rem;">这里是悬浮显示的内容,可以用div/span等各种形式展示</div
el-tooltip悬浮框显示内容 自定义
最新推荐文章于 2024-06-04 09:43:42 发布
![](https://img-home.csdnimg.cn/images/20240709112858.png)
<el-tooltip class="item" effect="light" placement="top-start">
<div slot="content" style="dispaly:flex;max-width:15rem;">这里是悬浮显示的内容,可以用div/span等各种形式展示</div