代码生成支持文件上传组件

pull/36/MERGE
RuoYi 4 years ago
parent 2c610dc465
commit dee4653b9b

@ -159,7 +159,7 @@
</el-form-item>
#elseif($column.htmlType == "fileUpload")
<el-form-item label="${comment}">
<imageUpload v-model="form.${field}"/>
<fileUpload v-model="form.${field}"/>
</el-form-item>
#elseif($column.htmlType == "editor")
<el-form-item label="${comment}">

@ -90,7 +90,6 @@ export default {
return item;
});
} else {
//``fileList
this.fileList = [];
return [];
}

Loading…
Cancel
Save