diff --git a/src/components/tabmenu/TabMenu.vue b/src/components/tabmenu/TabMenu.vue index 2007d1a51..6346dd00f 100755 --- a/src/components/tabmenu/TabMenu.vue +++ b/src/components/tabmenu/TabMenu.vue @@ -50,7 +50,7 @@ export default { } }, isActive(item) { - return this.activeRoute === item.to || this.activeRoute === item.to + '/' ; + return this.activeRoute.startsWith(item.to); }, getItemClass(item) { return ['p-tabmenuitem', item.class, {