fix: 修复分辨率过小时,单词被拆开的问题
This commit is contained in:
@@ -60,3 +60,8 @@ body {
|
|||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 单词换行不被拆开
|
||||||
|
.el-table .cell {
|
||||||
|
word-break: keep-all !important;
|
||||||
|
}
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
customTableTitles () {
|
customTableTitles () {
|
||||||
if (this.customTableTitle) {
|
if (this.customTableTitle) {
|
||||||
|
// 设置列宽,避免分辨率过小时,文本显示省略号
|
||||||
this.getTableWidth(this.customTableTitle)
|
this.getTableWidth(this.customTableTitle)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user