Skip to content

Commit 7417849

Browse files
authored
Merge pull request #4737 from timaxapa/fix-reactive-unwatch-data
fix(reactive): prevent overriding original functions with undefined on re-watching data
2 parents 952a19e + cea9ec4 commit 7417849

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/modules/ReactiveData/ReactiveData.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export default class ReactiveData extends Module{
217217
enumerable: true,
218218
configurable:true,
219219
writable:true,
220-
value: this.origFuncs.key,
220+
value: this.origFuncs[key],
221221
});
222222
}
223223
}
@@ -400,4 +400,4 @@ export default class ReactiveData extends Module{
400400
this.blocked = false;
401401
}
402402
}
403-
}
403+
}

0 commit comments

Comments
 (0)