!389 fix 修复 代码生成 前端添加或修改表单修改列生成问题

Merge pull request !389 from 丶Stone/5.X
feature/model
疯狂的狮子Li 1 year ago committed by Gitee
commit 34639a8943
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -148,7 +148,7 @@
<el-form ref="${businessName}FormRef" :model="form" :rules="rules" label-width="80px"> <el-form ref="${businessName}FormRef" :model="form" :rules="rules" label-width="80px">
#foreach($column in $columns) #foreach($column in $columns)
#set($field=$column.javaField) #set($field=$column.javaField)
#if($column.insert && !$column.pk) #if(($column.insert || $column.edit) && !$column.pk)
#set($parentheseIndex=$column.columnComment.indexOf("")) #set($parentheseIndex=$column.columnComment.indexOf(""))
#if($parentheseIndex != -1) #if($parentheseIndex != -1)
#set($comment=$column.columnComment.substring(0, $parentheseIndex)) #set($comment=$column.columnComment.substring(0, $parentheseIndex))

Loading…
Cancel
Save