Commit d09559f3 by 林家欣

修改左侧菜单事件

parent f8daac7c
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
:collapse="false" :collapse="false"
mode="vertical" mode="vertical"
:default-openeds="defaultOpeneds" :default-openeds="defaultOpeneds"
ref="menus"
@open="handleOpen" @open="handleOpen"
@close="handleClose" @close="handleClose"
> >
...@@ -116,6 +117,7 @@ export default { ...@@ -116,6 +117,7 @@ export default {
}, },
handleClose(key, keyPath) { handleClose(key, keyPath) {
console.log(key, keyPath); console.log(key, keyPath);
// this.$refs.menus.open(keyPath);
}, },
}, },
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment