Browse Source

无JIRA node的once改由options控制

es6
zsmj 2 years ago
parent
commit
c2fcb6dca9
  1. 7
      src/base/single/button/button.node.js

7
src/base/single/button/button.node.js

@ -11,7 +11,8 @@ BI.NodeButton = BI.inherit(BI.BasicButton, {
var conf = BI.NodeButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
_baseCls: (conf._baseCls || "") + " bi-node",
open: false
open: false,
once: false,
});
},
@ -27,10 +28,6 @@ BI.NodeButton = BI.inherit(BI.BasicButton, {
this.setOpened(!this.isOpened());
},
isOnce: function () {
return false;
},
isOpened: function () {
return !!this.options.open;
},

Loading…
Cancel
Save