mirror of https://github.com/vuejs/core.git
perf(reactivity): do not track inner key `__v_skip`` (#11690)
This commit is contained in:
parent
2d78539da3
commit
d637bd6c01
|
@ -53,6 +53,8 @@ class BaseReactiveHandler implements ProxyHandler<Target> {
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
get(target: Target, key: string | symbol, receiver: object): any {
|
get(target: Target, key: string | symbol, receiver: object): any {
|
||||||
|
if (key === ReactiveFlags.SKIP) return target[ReactiveFlags.SKIP]
|
||||||
|
|
||||||
const isReadonly = this._isReadonly,
|
const isReadonly = this._isReadonly,
|
||||||
isShallow = this._isShallow
|
isShallow = this._isShallow
|
||||||
if (key === ReactiveFlags.IS_REACTIVE) {
|
if (key === ReactiveFlags.IS_REACTIVE) {
|
||||||
|
|
Loading…
Reference in New Issue