fix(runtime-core): fix use of non-existent-in-prod internal property in defineProperty trap
fix #5710
This commit is contained in:
parent
1f14f19439
commit
f641c4b228
@ -458,7 +458,7 @@ export const PublicInstanceProxyHandlers: ProxyHandler<any> = {
|
||||
) {
|
||||
if (descriptor.get != null) {
|
||||
// invalidate key cache of a getter based property #5417
|
||||
target.$.accessCache[key] = 0
|
||||
target._.accessCache![key] = 0
|
||||
} else if (hasOwn(descriptor, 'value')) {
|
||||
this.set!(target, key, descriptor.value, null)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user