代码生成vue文件修正

master
RuoYi 5 years ago
parent 4e8b69c1d7
commit 80242d712b
  1. 3
      ruoyi/src/main/resources/vm/vue/index.vue.vm

@ -213,7 +213,6 @@
<el-form-item label="${comment}" prop="${field}"> <el-form-item label="${comment}" prop="${field}">
<el-input v-model="form.${field}" type="textarea" placeholder="请输入内容" /> <el-input v-model="form.${field}" type="textarea" placeholder="请输入内容" />
</el-form-item> </el-form-item>
</el-form>
#end #end
#end #end
#end #end
@ -286,7 +285,7 @@ export default {
#set($comment=$column.columnComment) #set($comment=$column.columnComment)
#end #end
#set($comment=$column.columnComment) #set($comment=$column.columnComment)
studentName: [ $column.javaField: [
{ required: true, message: "$comment不能为空", trigger: "blur" } { required: true, message: "$comment不能为空", trigger: "blur" }
]#if($velocityCount != $columns.size()),#end ]#if($velocityCount != $columns.size()),#end
#end #end

Loading…
Cancel
Save