Commit b52f742e by 汤强勇

调整侧边栏

parent 344c5474
......@@ -76,13 +76,26 @@ export default {
created () {
},
methods: {
choseMenu (item, itemIndex) {
this.currentMenus = item
this.currentMenusIndex = itemIndex
/**
* 选择边测菜单主菜单
*/
choseMenu (selectItem, selectItemIndex) {
this.currentMenus = selectItem
this.currentMenusIndex = selectItemIndex
if (!this.unfold) {
this.toggleUnfold(true)
}
},
/**
* 二级菜单
**/
choseChildrenItem (...args) {
console.log(args)
},
/**
* 三级菜单
* @param args
**/
selectItemMenu (...args) {
console.log(args)
},
......@@ -101,8 +114,7 @@ export default {
},
choseSubChildren (...args) {
console.log(args)
},
choseChildrenItem () {}
}
}
}
</script>
......
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