Commit 2bb1074e authored by wanliofficial's avatar wanliofficial

Merge branch 'master' of ssh://47.105.117.50:2224/wanli/evm-store

parents 38f1466c 9e94ef6b
......@@ -152,6 +152,7 @@
<el-form-item label="应用Logo" prop="app_icon">
<el-upload
class="avatar-uploader"
ref="icon"
:action="`${window.location.protocol}//${window.location.host}/api/v1/evm_store/upload`"
name="binfile"
:on-remove="handleAvatarRemove"
......@@ -295,8 +296,11 @@ export default {
},
methods: {
clear() {
this.imageUrl = null;
this.post.app_icon = null;
this.post.app_files = [];
this.$refs.upload.clearFiles();
this.$refs.icon.clearFiles();
},
fetchData(params) {
this.isLoading = true;
......@@ -449,6 +453,9 @@ export default {
this.frameworkDialog = true;
},
onAdd() {
setTimeout(() => {
this.clear();
}, 100);
this.dialogTitle = "添加";
this.dialogVisible = true;
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment