Browse Source

loader里button_group重复渲染

es6
NieShichao 7 years ago
parent
commit
52654ac96c
  1. 2
      src/base/combination/loader.js

2
src/base/combination/loader.js

@ -109,9 +109,11 @@ BI.Loader = BI.inherit(BI.Widget, {
o.isDefaultInit && BI.isEmpty(o.items) && BI.nextTick(BI.bind(function () { o.isDefaultInit && BI.isEmpty(o.items) && BI.nextTick(BI.bind(function () {
o.isDefaultInit && BI.isEmpty(o.items) && this.populate(); o.isDefaultInit && BI.isEmpty(o.items) && this.populate();
}, this)); }, this));
/*
if (BI.isNotEmptyArray(o.items)) { if (BI.isNotEmptyArray(o.items)) {
this.populate(o.items); this.populate(o.items);
} }
*/
}, },
hasPrev: function () { hasPrev: function () {

Loading…
Cancel
Save