@@ -233,6 +233,7 @@ export default {
return imageSize;
},
cancel() {
+ if (!this.canClose) return;
this.modalIsShow = false;
this.$emit("on-close");