给table-cloumn添加一个属性show-overflow-tooltip
<el-table-column label="描述" :show-overflow-tooltip='true'>
<template slot-scope="scope">
<span>{{scope.row.ms}}</span>
</template>
</el-table-column>
<style>
.el-tooltip__popper{
max-width:20%;
}
.el-tooltip__popper,.el-tooltip__popper.is-dark{
background:rgb(48, 65, 86) !important;
color: #fff !important;
line-height: 24px;
}
</style>