Browse Source

Merge pull request #1094 in DEC/fineui from master to feature/x

* commit 'aed9eae3158318b647d2a5930f0a71c36f15669f':
  无JIRA任务 点击arrow_node小三角触发两次controller
es6
superman 3 years ago
parent
commit
b8ae83db8b
  1. 6
      src/case/button/node/node.arrow.js

6
src/case/button/node/node.arrow.js

@ -22,12 +22,6 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
this.checkbox = BI.createWidget({ this.checkbox = BI.createWidget({
type: "bi.arrow_group_node_checkbox" type: "bi.arrow_group_node_checkbox"
}); });
this.checkbox.on(BI.Controller.EVENT_CHANGE, function (type) {
if (type === BI.Events.CLICK) {
self.setSelected(self.isSelected());
}
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
});
return { return {
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
columnSize: [o.iconWrapperWidth || o.height, "fill"], columnSize: [o.iconWrapperWidth || o.height, "fill"],

Loading…
Cancel
Save