fix(popover): fix popover hijacking mouse event bug (#1201)

This commit is contained in:
jeremywu 2021-01-05 17:51:31 +08:00 committed by GitHub
parent 43f9113de0
commit 97f992fce6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<el-popper <el-popper
v-model:visible="visible" v-model:visible="visible"
:trigger="['click']" trigger="click"
effect="light" effect="light"
popper-class="el-popover" popper-class="el-popover"
append-to-body append-to-body

View File

@ -97,7 +97,7 @@ export default defineComponent({
onMouseLeave: onPopperMouseLeave, onMouseLeave: onPopperMouseLeave,
onAfterEnter, onAfterEnter,
onAfterLeave, onAfterLeave,
stopPopperMouseEvent: true, stopPopperMouseEvent: false,
}, [ }, [
title, title,
content, content,