优化宽度自动判断问题;

This commit is contained in:
2022-07-27 15:42:15 +08:00
parent 7b12ee23bb
commit 9948597c09

View File

@@ -779,7 +779,7 @@ define(["jquery", "tableSelect", "ckeditor", 'miniTheme', 'tableData', 'citypick
for (index in col) { for (index in col) {
var val = col[index]; var val = col[index];
if (val['width'] == undefined) { if (val['width'] == undefined && val['minWidth'] == undefined) {
var width = null; var width = null;
if (val.title) { if (val.title) {
width = val.title.length * 15 + 55 width = val.title.length * 15 + 55