如图:
解决方案
一、css样式
/deep/ .el-table--enable-row-transition .el-table__body td{
transition: none !important;
}
二、template
添加key值 show-overflow-tooltip设置为true
<el-table-column
:show-overflow-tooltip="true"
key="5"
fixed="right"
label="操作"
width="230">
<template slot-scope="scope">
<div>
</div>
</template>
</el-table-column>
三、script === this.$refs.tableDatas.doLayout();
getTableData(){
this.$post(DiscountWaySet,this.getQueryParams()).then(res=>{
if(res.status==1){
this.$nextTick(() => {
this.tableData=res.data.rows
this.Total=res.data.total
this.$refs.tableDatas.doLayout();
});
}
})
},