Skip to content

Commit

Permalink
fix(modal): maskClosable not work
Browse files Browse the repository at this point in the history
修复BasicModal点击遮罩不能关闭的问题
  • Loading branch information
mynetfan committed Jun 28, 2021
1 parent f9cda2e commit f750ff4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Modal/src/BasicModal.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<Modal v-bind="getBindValue">
<Modal v-bind="getBindValue" @cancel="handleCancel">
<template #closeIcon v-if="!$slots.closeIcon">
<ModalClose
:canFullscreen="getProps.canFullscreen"
Expand Down Expand Up @@ -178,6 +178,7 @@
}
visibleRef.value = false;
console.log(visibleRef.value);
emit('cancel', e);
}
Expand Down

0 comments on commit f750ff4

Please sign in to comment.