Commit 266fcb3f by zhaochengxiang

崩溃问题

parent ab3ead65
...@@ -513,7 +513,10 @@ const ModelTable = (props) => { ...@@ -513,7 +513,10 @@ const ModelTable = (props) => {
if ((visibleColNames||[]).length > 0) { if ((visibleColNames||[]).length > 0) {
newCols = newCols.filter(col => visibleColNames.indexOf(col.title)!==-1 || col.title==='序号' || col.title==='操作'); newCols = newCols.filter(col => visibleColNames.indexOf(col.title)!==-1 || col.title==='序号' || col.title==='操作');
newCols[newCols.length-2].width = null;
if (newCols.length > 2) {
newCols[newCols.length-2].width = null;
}
} }
return newCols; return newCols;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment