This commit is contained in:
张磊 2015-09-09 08:47:52 +08:00
parent 41b715c62b
commit 5661bae86b
3 changed files with 9 additions and 5 deletions

6
dist/nuclear.js vendored
View File

@ -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) {

2
dist/nuclear.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -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) {