[!] wxc-mask: fix the bug that clicking close button can't close dialog when overlay-can-close === true and show-close === true
diff --git a/packages/wxc-mask/index.vue b/packages/wxc-mask/index.vue
index 774e685..6a1a545 100644
--- a/packages/wxc-mask/index.vue
+++ b/packages/wxc-mask/index.vue
@@ -193,6 +193,9 @@
methods: {
closeIconClicked () {
this.$refs.overlay.appearOverlay(false);
+ if (!this.overlayCanClose) {
+ this.appearMask(false);
+ }
},
wxcOverlayBodyClicking () {
if (this.hasAnimation) {