diff --git a/ui/src/layout/components/breadcrumb/index.vue b/ui/src/layout/components/breadcrumb/index.vue index 1f529ee39..aaf6924b7 100644 --- a/ui/src/layout/components/breadcrumb/index.vue +++ b/ui/src/layout/components/breadcrumb/index.vue @@ -161,8 +161,10 @@ function changeMenu(id: string) { router.push({ name: lastMatched.name, params: { id: id } }) } else if (isApplication.value) { const type = list.value?.filter((v) => v.id === id)?.[0]?.type - if (lastMatched.name === 'AppSetting' && type === 'WORK_FLOW') { - router.push({ path: `/application/${id}/${type}/overview` }) + if (type === 'WORK_FLOW') { + if (lastMatched.name === 'AppSetting' || lastMatched.name === 'AppHitTest') { + router.push({ path: `/application/${id}/${type}/overview` }) + } } else { router.push({ name: lastMatched.name, diff --git a/ui/src/layout/components/sidebar/SidebarItem.vue b/ui/src/layout/components/sidebar/SidebarItem.vue index 4e2a7e1ab..443bcb2aa 100644 --- a/ui/src/layout/components/sidebar/SidebarItem.vue +++ b/ui/src/layout/components/sidebar/SidebarItem.vue @@ -1,5 +1,5 @@