fix: 修复分辨率过小时,单词被拆开的问题

This commit is contained in:
刘洪洪
2023-03-28 10:46:41 +08:00
parent 01d10de71e
commit 7523fee78b
2 changed files with 6 additions and 0 deletions

View File

@@ -60,3 +60,8 @@ body {
display: none !important;
}
}
// 单词换行不被拆开
.el-table .cell {
word-break: keep-all !important;
}

View File

@@ -22,6 +22,7 @@ export default {
computed: {
customTableTitles () {
if (this.customTableTitle) {
// 设置列宽,避免分辨率过小时,文本显示省略号
this.getTableWidth(this.customTableTitle)
}