优化表格自动宽的条件;

This commit is contained in:
augushong
2022-07-28 00:02:38 +08:00
parent b4182fa67f
commit 34ed44299a

View File

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