guy 8 years ago
parent
commit
2da97ed298
  1. 2
      bi/base.js
  2. 2
      docs/base.js
  3. 2
      src/base/combination/group.button.js

2
bi/base.js

@ -1061,7 +1061,7 @@ BI.ButtonGroup = BI.inherit(BI.Widget, {
//如果是一个简单的layout
_isSimpleLayout: function () {
var o = this.options;
return o.layouts.length === 1 && !BI.isArray(o.items[0])
return o.layouts.length === 1 && !BI.isArray(o.layouts.items[0])
},
doBehavior: function () {

2
docs/base.js

@ -1061,7 +1061,7 @@ BI.ButtonGroup = BI.inherit(BI.Widget, {
//如果是一个简单的layout
_isSimpleLayout: function () {
var o = this.options;
return o.layouts.length === 1 && !BI.isArray(o.items[0])
return o.layouts.length === 1 && !BI.isArray(o.layouts.items[0])
},
doBehavior: function () {

2
src/base/combination/group.button.js

@ -117,7 +117,7 @@ BI.ButtonGroup = BI.inherit(BI.Widget, {
//如果是一个简单的layout
_isSimpleLayout: function () {
var o = this.options;
return o.layouts.length === 1 && !BI.isArray(o.items[0])
return o.layouts.length === 1 && !BI.isArray(o.layouts.items[0])
},
doBehavior: function () {

Loading…
Cancel
Save