From c848438f32277ac1ff84dafa0da5d7254c9187a9 Mon Sep 17 00:00:00 2001 From: xuyiming Date: Thu, 20 Aug 2020 16:39:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E6=9E=84=E5=BB=BAfixed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workbench/component-center/app-build/index.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/pages/workbench/component-center/app-build/index.vue b/src/pages/workbench/component-center/app-build/index.vue index 33df1a5..ae46e38 100644 --- a/src/pages/workbench/component-center/app-build/index.vue +++ b/src/pages/workbench/component-center/app-build/index.vue @@ -500,9 +500,13 @@ export default { this.deploy_info.file = ""; this.$refs.step2_upload.clearFiles(); } + + this.step2Loading = false; }, deployUploadRemove() { this.deploy_info.file = ""; + + this.step2Loading = false; }, deployUploadSuccess(response) { if (response.success == 1) { @@ -530,6 +534,7 @@ export default { message: `提交失败`, type: "warning", }); + this.step2Loading = false; }, step2Action() { @@ -583,6 +588,7 @@ export default { } else { */ this.image_info.file = file; this.$refs.step1_upload_item.clearValidate(); + this.addImageLoading = false; // } }, imageUploadSuccess(response) { @@ -610,16 +616,19 @@ export default { message: `上传镜像失败`, type: "warning", }); + this.addImageLoading = false; }, imageUploadRemove() { this.image_info.file = ""; + + this.addImageLoading = false; }, addImage() { if (this.addImageLoading) { return; } - + this.$refs.image_info_form.validate((valid) => { if (valid) { this.addImageLoading = true; -- 2.26.0