From 38a345175184abe1e1ac3f97ac6ebfa53cef97bc Mon Sep 17 00:00:00 2001 From: SerKo Date: Mon, 15 Apr 2024 04:36:50 +0800 Subject: [PATCH] refactor: change soft navigation concept to fallback failed --- src/runtime/components/PlusParallelPage.vue | 4 ++-- src/runtime/parallel-router.ts | 14 +++++++------- src/runtime/types.ts | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/runtime/components/PlusParallelPage.vue b/src/runtime/components/PlusParallelPage.vue index d674c2b..f2d68f9 100644 --- a/src/runtime/components/PlusParallelPage.vue +++ b/src/runtime/components/PlusParallelPage.vue @@ -7,7 +7,7 @@ const props = defineProps<{ // Unique name of the parallel router name: string - // Disable rendering during soft navigation + // Disable rendering if fallback fail autoHide?: boolean // Name of the router view to use @@ -30,7 +30,7 @@ const route = computed(() => router.value?.currentRoute.value)