diff --git a/packages/effects/layouts/src/authentication/form.vue b/packages/effects/layouts/src/authentication/form.vue index 80c907493..9243ca355 100644 --- a/packages/effects/layouts/src/authentication/form.vue +++ b/packages/effects/layouts/src/authentication/form.vue @@ -15,7 +15,7 @@ defineOptions({ diff --git a/packages/effects/layouts/src/basic/content/content.vue b/packages/effects/layouts/src/basic/content/content.vue index 4ce9e4dbb..df1ef2535 100644 --- a/packages/effects/layouts/src/basic/content/content.vue +++ b/packages/effects/layouts/src/basic/content/content.vue @@ -100,13 +100,13 @@ function transformComponent( :is="transformComponent(Component, route)" v-if="renderRouteView" v-show="!route.meta.iframeSrc" - :key="route.fullPath" + :key="route.path" /> diff --git a/packages/effects/layouts/src/basic/tabbar/use-tabbar.ts b/packages/effects/layouts/src/basic/tabbar/use-tabbar.ts index 52b32dc46..87defd786 100644 --- a/packages/effects/layouts/src/basic/tabbar/use-tabbar.ts +++ b/packages/effects/layouts/src/basic/tabbar/use-tabbar.ts @@ -43,7 +43,7 @@ export function useTabbar() { } = useTabs(); const currentActive = computed(() => { - return route.fullPath; + return route.path; }); const { locale } = useI18n(); @@ -144,7 +144,7 @@ export function useTabbar() { { handler: async () => { if (!contentIsMaximize.value) { - await router.push(tab.fullPath); + await router.push(tab.path); } toggleMaximize(); }, diff --git a/packages/effects/layouts/src/iframe/iframe-router-view.vue b/packages/effects/layouts/src/iframe/iframe-router-view.vue index 0e45ed966..355dc1647 100644 --- a/packages/effects/layouts/src/iframe/iframe-router-view.vue +++ b/packages/effects/layouts/src/iframe/iframe-router-view.vue @@ -67,7 +67,7 @@ function showSpinning(index: number) {