代码优化

This commit is contained in:
thinkgem
2021-11-30 17:15:40 +08:00
parent 77d1fde546
commit 09ca6c68a9
3 changed files with 13 additions and 7 deletions

View File

@@ -83,7 +83,9 @@ for(c in table.columnList){
component: 'TreeSelect',
componentProps: {
allowClear: true,
style: 'width: calc(50% - 60px)',
},
colProps: { lg: 24, md: 24 },
},
<% }
for (c in table.columnList){
@@ -108,7 +110,7 @@ for (c in table.columnList){
field: '${c.attrName}',
<% if(c.showType == 'input' || c.showType == 'textarea'){ %>
<% if (c.simpleAttrType == 'Integer' && c.attrName == 'treeSort'){ %>
helpMessage: '升序${c.dataLength}',
helpMessage: '升序',
component: 'InputNumber',
defaultValue: '30',
<% }else{ %>