From 7357e408f3d32fc7e748460169d96055d6ebe60c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Tue, 30 Jan 2024 19:22:27 +0800 Subject: [PATCH] fix(runtime-core): don't inline isShallow --- packages/runtime-core/src/customFormatter.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/runtime-core/src/customFormatter.ts b/packages/runtime-core/src/customFormatter.ts index d2510c09c25..abd3a329922 100644 --- a/packages/runtime-core/src/customFormatter.ts +++ b/packages/runtime-core/src/customFormatter.ts @@ -1,6 +1,12 @@ -import { type Ref, isReactive, isReadonly, isRef, toRaw } from '@vue/reactivity' +import { + type Ref, + isReactive, + isReadonly, + isRef, + isShallow, + toRaw, +} from '@vue/reactivity' import { EMPTY_OBJ, extend, isArray, isFunction, isObject } from '@vue/shared' -import { isShallow } from '../../reactivity/src/reactive' import type { ComponentInternalInstance, ComponentOptions } from './component' import type { ComponentPublicInstance } from './componentPublicInstance'