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

This commit is contained in:
renpy 2023-07-14 13:51:23 +08:00
commit f3091bdb84

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: {