diff --git a/src/pages/workbench/component-center/app-build/index.vue b/src/pages/workbench/component-center/app-build/index.vue index 33df1a5f9f74abdc5b8d8338299e8907e4db1fd4..ae46e38c035783477b8e8aef39a5e1acd29d5957 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;