fix bug
This commit is contained in:
parent
41b715c62b
commit
5661bae86b
|
@ -2023,8 +2023,10 @@ Nuclear._mixObj = function (obj) {
|
|||
this.node = newNode;
|
||||
}
|
||||
} else {
|
||||
item.parent.insertAdjacentHTML("beforeEnd", Nuclear.Tpl.render(Nuclear._fixEvent(Nuclear._fixTplIndex(item.tpl), this._ncInstanceId), item.data));
|
||||
this.node = item.parent.lastChild;
|
||||
if (!Nuclear.isUndefined(item.tpl)) {
|
||||
item.parent.insertAdjacentHTML("beforeEnd", Nuclear.Tpl.render(Nuclear._fixEvent(Nuclear._fixTplIndex(item.tpl), this._ncInstanceId), item.data));
|
||||
this.node = item.parent.lastChild;
|
||||
}
|
||||
}
|
||||
window["_nuclearIndex"] = null;
|
||||
if (this.node) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -111,8 +111,10 @@ Nuclear._mixObj = function (obj) {
|
|||
this.node = newNode;
|
||||
}
|
||||
} else {
|
||||
item.parent.insertAdjacentHTML("beforeEnd", Nuclear.Tpl.render(Nuclear._fixEvent(Nuclear._fixTplIndex(item.tpl), this._ncInstanceId), item.data));
|
||||
this.node = item.parent.lastChild;
|
||||
if (!Nuclear.isUndefined(item.tpl)) {
|
||||
item.parent.insertAdjacentHTML("beforeEnd", Nuclear.Tpl.render(Nuclear._fixEvent(Nuclear._fixTplIndex(item.tpl), this._ncInstanceId), item.data));
|
||||
this.node = item.parent.lastChild;
|
||||
}
|
||||
}
|
||||
window["_nuclearIndex"] = null;
|
||||
if (this.node) {
|
||||
|
|
Loading…
Reference in New Issue