在IE下,內容長度臨界值時 ,出現(xiàn)省略號龙宏,但是鼠標hover不顯示toolTip。
<el-table-column
? ? ? ? v-if="isShowCol.realName"
? ? ? ? prop="realName"
? ? ? ? label="姓名"
? ? ? ? min-width="8%"
? ? ? ? :show-overflow-tooltip="true"
></el-table-column>
解決方法:
全局添加樣式
/deep/ .el-table .cell, .el-table th div {
? ? padding-right: 0;
}