fix(core): fix not declared variable in view engine (#14045)
In TypeScript, referring to `name` does not lead to an error as `window` also has a property `name`.
This commit is contained in:
parent
dff6ee3272
commit
d3a3a8e1fc
|
@ -241,7 +241,8 @@ function checkAndUpdateProp(
|
||||||
provider[propName] = value;
|
provider[propName] = value;
|
||||||
|
|
||||||
if (view.def.flags & ViewFlags.LogBindingUpdate) {
|
if (view.def.flags & ViewFlags.LogBindingUpdate) {
|
||||||
setBindingDebugInfo(view.renderer, view.nodes[def.parent].renderNode, name, value);
|
setBindingDebugInfo(
|
||||||
|
view.renderer, view.nodes[def.parent].renderNode, binding.nonMinifiedName, value);
|
||||||
}
|
}
|
||||||
if (change) {
|
if (change) {
|
||||||
changes = changes || {};
|
changes = changes || {};
|
||||||
|
|
Loading…
Reference in New Issue