From 32e7bc09ba9f172e61a479fdd32915ca307e77bd Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 20 Apr 2017 15:34:05 +0800 Subject: [PATCH] =?UTF-8?q?buttongroup=E7=9A=84remove?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bi/base.js | 2 +- docs/base.js | 2 +- src/base/combination/group.button.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bi/base.js b/bi/base.js index 8e7faa097..c798fc2cb 100644 --- a/bi/base.js +++ b/bi/base.js @@ -1114,7 +1114,7 @@ BI.ButtonGroup = BI.inherit(BI.Widget, { deleted.push(i); } }); - BI.remove(this.buttons, deleted); + BI.removeAt(this.buttons, deleted); this.layouts.removeItemAt(deleted); }, diff --git a/docs/base.js b/docs/base.js index 8e7faa097..c798fc2cb 100644 --- a/docs/base.js +++ b/docs/base.js @@ -1114,7 +1114,7 @@ BI.ButtonGroup = BI.inherit(BI.Widget, { deleted.push(i); } }); - BI.remove(this.buttons, deleted); + BI.removeAt(this.buttons, deleted); this.layouts.removeItemAt(deleted); }, diff --git a/src/base/combination/group.button.js b/src/base/combination/group.button.js index 353f18cd0..d303feeeb 100644 --- a/src/base/combination/group.button.js +++ b/src/base/combination/group.button.js @@ -170,7 +170,7 @@ BI.ButtonGroup = BI.inherit(BI.Widget, { deleted.push(i); } }); - BI.remove(this.buttons, deleted); + BI.removeAt(this.buttons, deleted); this.layouts.removeItemAt(deleted); },