diff --git a/frontend/src/performance/components/HeaderTopMenus.vue b/frontend/src/performance/components/HeaderTopMenus.vue index 2c374f15fb..145cf629d4 100644 --- a/frontend/src/performance/components/HeaderTopMenus.vue +++ b/frontend/src/performance/components/HeaderTopMenus.vue @@ -4,7 +4,8 @@ class="header-top-menus" text-color="#F2F2F2" active-text-color="#fff" - :default-active="$route.path" + :default-active="activeIndex" + @select="handleSelect" router> 功能测试 性能测试 @@ -14,7 +15,25 @@