在用于文字过长提示的时候,如果输入框为空。就会出现黑框遮挡问题。
![](https://img.haomeiwen.com/i11258822/3befa1dc578a58eb.png)
解决方法:
包一层<span>标签
例:
<el-table-column
prop="name"
label="名称"
:show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.name }}</span>
</template>
</el-table-column>
在用于文字过长提示的时候,如果输入框为空。就会出现黑框遮挡问题。
解决方法:
包一层<span>标签
例:
<el-table-column
prop="name"
label="名称"
:show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.name }}</span>
</template>
</el-table-column>
本文标题:element使用show-overflow-tooltip 鼠
本文链接:https://www.haomeiwen.com/subject/kpquxctx.html
网友评论