mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 19:12:48 +08:00
优化表格自动宽的条件;
This commit is contained in:
@@ -781,7 +781,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['minWidth'] == 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
|
||||||
|
|||||||
Reference in New Issue
Block a user