vue 中 show-overflow-tooltip 不生效
<el-table-columnprop="company_cost_price"label="公司成本价"width=""show-overflow-tooltip><template slot-scope="scope"><span>{{ scope.row.cost_frame }}</span...
·
<el-table-column
prop="company_cost_price"
label="公司成本价"
width=""
show-overflow-tooltip>
<template slot-scope="scope">
<span>{{ scope.row.cost_frame }}</span>鼠标经过要显示的内容
</template>
</el-table-column>
只写 show-overflow-tooltip
是无效的,要添加<template slot-scope="scope"> <span>{{ scope.row.cost_frame }}</span>鼠标经过要显示的内容 </template>
更多推荐
所有评论(0)