From d16a2138a33b106b9e1499bbb9e1c67790370c97 Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 18 Jan 2024 11:19:04 +0800 Subject: [PATCH] fix(hydration): fix incorect mismatch warning for option with non-string value and inner text close 10140 --- packages/runtime-core/__tests__/hydration.spec.ts | 7 +++++++ packages/runtime-core/src/hydration.ts | 14 +++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/packages/runtime-core/__tests__/hydration.spec.ts b/packages/runtime-core/__tests__/hydration.spec.ts index c379485d6aa..127c0d88c7f 100644 --- a/packages/runtime-core/__tests__/hydration.spec.ts +++ b/packages/runtime-core/__tests__/hydration.spec.ts @@ -1531,5 +1531,12 @@ describe('SSR hydration', () => { mountWithHydration(`