mirror of https://github.com/vuejs/core.git
[autofix.ci] apply automated fixes
This commit is contained in:
parent
7928eaa652
commit
848e27cf28
|
@ -526,14 +526,10 @@ export const PublicInstanceProxyHandlers: ProxyHandler<any> = {
|
||||||
`but is not defined on instance.`,
|
`but is not defined on instance.`,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
} else if (
|
} else if (__DEV__ && !__TEST__ && !(key[0] === '$' || key[0] === '_')) {
|
||||||
__DEV__ &&
|
|
||||||
!__TEST__ &&
|
|
||||||
!(key[0] === '$' || key[0] === '_')
|
|
||||||
) {
|
|
||||||
warn(
|
warn(
|
||||||
`Property ${JSON.stringify(key)} was accessed during render ` +
|
`Property ${JSON.stringify(key)} was accessed during render ` +
|
||||||
`but is not defined on instance.`
|
`but is not defined on instance.`,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue