1、table中使用了tooltip,划上之后样式多宽
2、代码中写法:
:show-overflow-tooltip="true"
在style中写样式不生效,需要去掉style中的scoped才生效,下载公共样式中也没生效
/* // 设置tooltip宽度 */
.el-tooltip__popper {
max-width: 60% !important;
}
1、table中使用了tooltip,划上之后样式多宽
2、代码中写法:
:show-overflow-tooltip="true"
在style中写样式不生效,需要去掉style中的scoped才生效,下载公共样式中也没生效
/* // 设置tooltip宽度 */
.el-tooltip__popper {
max-width: 60% !important;
}