refactor(reactivity): remove keyIsSymbol
(#2262)
This commit is contained in:
parent
9b34f915ab
commit
af1f5d33aa
@ -89,9 +89,8 @@ function createGetter(isReadonly = false, shallow = false) {
|
||||
|
||||
const res = Reflect.get(target, key, receiver)
|
||||
|
||||
const keyIsSymbol = isSymbol(key)
|
||||
if (
|
||||
keyIsSymbol
|
||||
isSymbol(key)
|
||||
? builtInSymbols.has(key as symbol)
|
||||
: key === `__proto__` || key === `__v_isRef`
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user