zhangjie 1 năm trước cách đây
mục cha
commit
ecbf7c90e8
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/components/SimpleImagePreview.vue

+ 1 - 0
src/components/SimpleImagePreview.vue

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