CN-956: 管理下的操作日志模块,自定义列功能异常

This commit is contained in:
刘洪洪
2023-04-19 16:25:55 +08:00
parent a7b8b82479
commit 0d43e2141f
12 changed files with 31 additions and 27 deletions

View File

@@ -81,7 +81,11 @@ export default {
// 有排序的额外添加24px的排序图标宽度
if (item.sortable) {
item.minWidth = item.minWidth + 32
if (!item.initFlag) {
item.minWidth = item.minWidth + 32
}
// 避免customize多次点击save生成表格导致width越来越大保证初始化一次就确定宽度
item.initFlag = true
}
if (item.minWidth < newWidth) {