fix(menu): fix navigation menu potential bug (#768)

- Fix navigation potential bug
This commit is contained in:
jeremywu 2020-12-02 11:38:10 +08:00 committed by GitHub
parent 2b234fb4fb
commit 6de81654fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,7 @@ export default {
rootMenu.rootMenuEmit('menuItem:item-click', {
index: props.index,
indexPath,
route: props.route,
})
emit('click', {
index: props.index,

View File

@ -10,6 +10,7 @@
trigger="click"
popper-class="el-picker__popper"
:stop-popper-mouse-event="false"
append-to-body
>
<template #trigger>
<el-input