Skip to content

Commit f641c4b

Browse files
committedApr 14, 2022
fix(runtime-core): fix use of non-existent-in-prod internal property in defineProperty trap
fix #5710
1 parent 1f14f19 commit f641c4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/runtime-core/src/componentPublicInstance.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ export const PublicInstanceProxyHandlers: ProxyHandler<any> = {
458458
) {
459459
if (descriptor.get != null) {
460460
// invalidate key cache of a getter based property #5417
461-
target.$.accessCache[key] = 0
461+
target._.accessCache![key] = 0
462462
} else if (hasOwn(descriptor, 'value')) {
463463
this.set!(target, key, descriptor.value, null)
464464
}

0 commit comments

Comments
 (0)
Please sign in to comment.