diff --git a/frontend/src/business/components/common/head/HeaderTopMenus.vue b/frontend/src/business/components/common/head/HeaderTopMenus.vue index 4ad9be2b69..52922e21fd 100644 --- a/frontend/src/business/components/common/head/HeaderTopMenus.vue +++ b/frontend/src/business/components/common/head/HeaderTopMenus.vue @@ -33,7 +33,8 @@ } }, watch: { - '$route'() { + '$route'(to) { + this.activeIndex = to.matched[0].path; this.handleSelect(this.activeIndex); } },