mirror of
https://github.com/yangzongzhuan/RuoYi-Cloud.git
synced 2025-09-28 02:47:46 +00:00
代码生成支持文件上传组件
This commit is contained in:
@@ -159,7 +159,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
#elseif($column.htmlType == "fileUpload")
|
#elseif($column.htmlType == "fileUpload")
|
||||||
<el-form-item label="${comment}">
|
<el-form-item label="${comment}">
|
||||||
<imageUpload v-model="form.${field}"/>
|
<fileUpload v-model="form.${field}"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
#elseif($column.htmlType == "editor")
|
#elseif($column.htmlType == "editor")
|
||||||
<el-form-item label="${comment}">
|
<el-form-item label="${comment}">
|
||||||
|
@@ -90,7 +90,6 @@ export default {
|
|||||||
return item;
|
return item;
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
//上传后关闭弹出框再打开出现`只允许上传单个文件`提示,增加fileList清空可解决
|
|
||||||
this.fileList = [];
|
this.fileList = [];
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user