Merge branch 'bugfix/submenu' into feature-Alarm-renpy

This commit is contained in:
renpy 2023-07-18 15:12:06 +08:00
commit 321a421268

View File

@ -90,7 +90,9 @@
//
currentChildrenMenus () {
return this.findSubMenus(this.$route.name)
const hasSubmenuPathList = ['/isystem', '/system'] //
const hasSubMenu = hasSubmenuPathList.some(item => this.$route.path.indexOf(item) == 0)
return hasSubMenu? this.findSubMenus(this.$route.name): []
}
},
watch: {