diff --git a/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm b/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm index 725326659..d65bce39f 100644 --- a/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm +++ b/ruoyi-generator/src/main/resources/vm/vue/index.vue.vm @@ -193,25 +193,26 @@ #set($comment=$column.columnComment) #end #set($dictType=$column.dictType) +#set($mode="!(form.zhuId ? " + $column.edit + " : " + $column.insert + ")") #if($column.htmlType == "input") - + #elseif($column.htmlType == "imageUpload") - + #elseif($column.htmlType == "fileUpload") - + #elseif($column.htmlType == "editor") - + #elseif($column.htmlType == "select" && "" != $dictType) - + #elseif($column.htmlType == "select" && $dictType) - + #elseif($column.htmlType == "checkbox" && "" != $dictType) - + #elseif($column.htmlType == "checkbox" && $dictType) - + 请选择字典生成 #elseif($column.htmlType == "radio" && "" != $dictType) - + #elseif($column.htmlType == "radio" && $dictType) - + 请选择字典生成 #elseif($column.htmlType == "datetime") - #elseif($column.htmlType == "textarea") - + #end #end