优化代码生成模板

This commit is contained in:
不做码农 2022-02-12 10:01:45 +08:00
parent c4003e5ca4
commit 86169361aa
4 changed files with 3 additions and 6 deletions

View File

@ -2,10 +2,8 @@
$set(labelName = "")
$set(columnName = "")
$set(numLabel = "")
$if(column.IsQuery == true)
$set(columnName = column.CsharpFieldFl)
$if(column.ColumnComment != "")
$set(labelName = column.ColumnComment)
$else
@ -31,6 +29,5 @@ $else
<el-input v-model${numLabel}="queryParams.${columnName}" placeholder="请输入${labelName}" />
</el-form-item>
$end
$end
$end