Commit c848438f authored by 徐一鸣's avatar 徐一鸣

应用构建fixed

parent b83b9abb
......@@ -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;
......
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