Browse Source

Pull request #3085: 无JIRAR任务 chore: 优化

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '461f456fe5d4e014097d6992c826a5018a2c4d87':
  chore: 优化
es6
guy-王川 2 years ago
parent
commit
b4bec5db18
  1. 3
      src/widget/multitree/multi.tree.combo.js
  2. 3
      src/widget/multitree/multi.tree.insert.combo.js
  3. 3
      src/widget/multitree/multi.tree.list.combo.js

3
src/widget/multitree/multi.tree.combo.js

@ -80,7 +80,8 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
};
self.trigger.getSearcher().setState(val);
self.numberCounter.setButtonChecked(val);
self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM, self.combo.getValue());
self.storeValue.value = val;
self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM, self.getValue());
}
}, {
eventName: BI.MultiTreePopup.EVENT_CLICK_CONFIRM,

3
src/widget/multitree/multi.tree.insert.combo.js

@ -97,7 +97,8 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
};
self.trigger.getSearcher().setState(val);
self.numberCounter.setButtonChecked(val);
self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue());
self.storeValue.value = val;
self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.getValue());
}
}, {
eventName: BI.MultiTreePopup.EVENT_CLICK_CONFIRM,

3
src/widget/multitree/multi.tree.list.combo.js

@ -114,7 +114,8 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
};
self.trigger.getSearcher().setState(val);
self.numberCounter.setButtonChecked(val);
self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue());
self.storeValue.value = val;
self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.getValue());
}
}, {
eventName: BI.MultiTreePopup.EVENT_CLICK_CONFIRM,

Loading…
Cancel
Save