From aef77faa95585090fd03a82e7ddbca31e6002a77 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期五, 27 九月 2024 12:00:09 +0800 Subject: [PATCH] 点击页面左上角logo和标题,默认跳转到index页 --- src/layout/components/Logo/src/Logo.vue | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/src/layout/components/Logo/src/Logo.vue b/src/layout/components/Logo/src/Logo.vue index d5790b0..2d1cfb6 100644 --- a/src/layout/components/Logo/src/Logo.vue +++ b/src/layout/components/Logo/src/Logo.vue @@ -22,14 +22,7 @@ const collapse = computed(() => appStore.getCollapse) -let tenantId = authUtil.getTenantId() -console.log(tenantId) -if (tenantId && tenantId === 1) { - homePath.value = '/index' -} else { - homePath.value = '/home2' -} -console.log(homePath.value) +homePath.value = '/index' onMounted(() => { if (unref(collapse)) show.value = false -- Gitblit v1.9.3