Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit faf7cef

Browse files
committed
fix(patch): fix #618, use zoneSymbol as property name to avoid name conflict
1 parent 76c6ebf commit faf7cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/common/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export function patchProperty(obj, prop) {
7474

7575
// substr(2) cuz 'onclick' -> 'click', etc
7676
const eventName = prop.substr(2);
77-
const _prop = '_' + prop;
77+
const _prop = zoneSymbol('_' + prop);
7878

7979
desc.set = function(fn) {
8080
if (this[_prop]) {

0 commit comments

Comments
 (0)