perf(reactivity): should not track __v_isRef
(#1392)
This commit is contained in:
parent
a60f3b1430
commit
c43a6e61a0
@ -63,7 +63,11 @@ function createGetter(isReadonly = false, shallow = false) {
|
||||
|
||||
const res = Reflect.get(target, key, receiver)
|
||||
|
||||
if ((isSymbol(key) && builtInSymbols.has(key)) || key === '__proto__') {
|
||||
if (
|
||||
isSymbol(key)
|
||||
? builtInSymbols.has(key)
|
||||
: key === `__proto__` || key === `__v_isRef`
|
||||
) {
|
||||
return res
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user