Commit b52f742e by 汤强勇

调整侧边栏

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