Browse Source

fix: 修复无法删除第一个元素的问题

es6
iapyang 3 years ago
parent
commit
21cde3bf2e
  1. 2
      src/case/layer/pane.list.js

2
src/case/layer/pane.list.js

@ -104,7 +104,7 @@ BI.ListPane = BI.inherit(BI.Pane, {
}, },
removeItemAt: function (indexes) { removeItemAt: function (indexes) {
indexes = indexes || []; indexes = BI.isNull(indexes) ? [] : indexes;
BI.removeAt(this.options.items, indexes); BI.removeAt(this.options.items, indexes);
this.button_group.removeItemAt.apply(this.button_group, arguments); this.button_group.removeItemAt.apply(this.button_group, arguments);
this.check(); this.check();

Loading…
Cancel
Save