From 7243ffa22b193745f9de612f777bcc9a6b9ad7f7 Mon Sep 17 00:00:00 2001 From: JiZhi <471695625@qq.com> Date: Thu, 27 Jan 2022 15:48:25 +0800 Subject: [PATCH] fix(reactive): remove useless proxy logic of shallowReactive (#890) --- src/reactivity/reactive.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/reactivity/reactive.ts b/src/reactivity/reactive.ts index 386cb299..b82af25f 100644 --- a/src/reactivity/reactive.ts +++ b/src/reactivity/reactive.ts @@ -189,7 +189,6 @@ export function shallowReactive(obj: any) { } const observed = observe(isArray(obj) ? [] : {}) - setupAccessControl(observed) const ob = (observed as any).__ob__