Commit f750ff435fee06acee78d6b9633e6e18d91685f8
1 parent
f9cda2e8
fix(modal): maskClosable not work
修复BasicModal点击遮罩不能关闭的问题
Showing
1 changed file
with
2 additions
and
1 deletions
src/components/Modal/src/BasicModal.vue
1 | 1 | <template> |
2 | - <Modal v-bind="getBindValue"> | |
2 | + <Modal v-bind="getBindValue" @cancel="handleCancel"> | |
3 | 3 | <template #closeIcon v-if="!$slots.closeIcon"> |
4 | 4 | <ModalClose |
5 | 5 | :canFullscreen="getProps.canFullscreen" |
... | ... | @@ -178,6 +178,7 @@ |
178 | 178 | } |
179 | 179 | |
180 | 180 | visibleRef.value = false; |
181 | + console.log(visibleRef.value); | |
181 | 182 | emit('cancel', e); |
182 | 183 | } |
183 | 184 | ... | ... |