# table超出换行显示或提示
onInit() {
//显示提示
this.columns.forEach((col) => {
if (col.field == '字段') {
col.showOverflowTooltip = true;
}
});
//或者设置超出换行显示
//this.textInline=false;
}
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12