Commit 266fcb3f by zhaochengxiang

崩溃问题

parent ab3ead65
......@@ -513,8 +513,11 @@ const ModelTable = (props) => {
if ((visibleColNames||[]).length > 0) {
newCols = newCols.filter(col => visibleColNames.indexOf(col.title)!==-1 || col.title==='序号' || col.title==='操作');
if (newCols.length > 2) {
newCols[newCols.length-2].width = null;
}
}
return newCols;
}, [visibleColNames, attrs, indexCol, actionCol, modelId, detailItem, users])
......
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