perf(reactivity): no need to proxy has/ownKeys for readonly objects
This commit is contained in:
parent
c0427b45ff
commit
691a4b9530
@ -174,8 +174,6 @@ export const mutableHandlers: ProxyHandler<object> = {
|
||||
|
||||
export const readonlyHandlers: ProxyHandler<object> = {
|
||||
get: readonlyGet,
|
||||
has,
|
||||
ownKeys,
|
||||
set(target, key) {
|
||||
if (__DEV__) {
|
||||
console.warn(
|
||||
|
Loading…
x
Reference in New Issue
Block a user