diff --git a/core/core-frontend/src/layout/components/Header.vue b/core/core-frontend/src/layout/components/Header.vue index 3a419061dc..bb96637fb9 100644 --- a/core/core-frontend/src/layout/components/Header.vue +++ b/core/core-frontend/src/layout/components/Header.vue @@ -16,6 +16,11 @@ import { XpackComponent } from '@/components/plugin' const { push } = useRouter() const route = useRoute() +const handleIconClick = () => { + if (route.path === '/workbranch/index') return + push('/workbranch/index') +} + const desktop = isDesktop() const activeIndex = computed(() => { if (route.path.includes('system')) { @@ -50,7 +55,7 @@ onMounted(() => {