From 60415b5d67df55f1fd6b176615299c08640fa142 Mon Sep 17 00:00:00 2001 From: edison Date: Fri, 8 Dec 2023 23:06:34 +0800 Subject: [PATCH] fix(ssr): fix suspense hydration of fallback content (#7188) --- packages/runtime-core/src/components/Suspense.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-core/src/components/Suspense.ts b/packages/runtime-core/src/components/Suspense.ts index 426ca0cd32c..e9cc0ff2c3e 100644 --- a/packages/runtime-core/src/components/Suspense.ts +++ b/packages/runtime-core/src/components/Suspense.ts @@ -464,7 +464,7 @@ function createSuspenseBoundary( timeout: typeof timeout === 'number' ? timeout : -1, activeBranch: null, pendingBranch: null, - isInFallback: true, + isInFallback: !isHydrating, isHydrating, isUnmounted: false, effects: [],