From 02530026e62ac564c1b528b58a0470a0b04bf5a9 Mon Sep 17 00:00:00 2001 From: Xc <124118265@qq.com> Date: Sun, 10 Apr 2022 14:08:38 +0800 Subject: [PATCH] fix: popover esc after visible invalid (#7064) * fix: popover esc after visible invalid * fix: popover esc after visible invalid(#7058) Co-authored-by: xiaochenchen --- packages/components/popover/src/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/components/popover/src/index.vue b/packages/components/popover/src/index.vue index e4c7d41d4c..d643bbcc1d 100644 --- a/packages/components/popover/src/index.vue +++ b/packages/components/popover/src/index.vue @@ -121,6 +121,7 @@ export default defineComponent({ } const afterLeave = () => { + emit('update:visible', false) emit('after-leave') }