Browse Source

Pull request #3087: 无JIRA任务 bugfix

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

* commit 'bcf4a461dd4b8b0c7e1ae786bce27743d2d7ed4b':
  bugfix
es6
guy-王川 2 years ago
parent
commit
2f09f3e85e
  1. 4
      src/widget/multitree/multi.tree.combo.js
  2. 2
      src/widget/multitree/multi.tree.insert.combo.js
  3. 2
      src/widget/multitree/multi.tree.list.combo.js

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

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

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

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

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

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

Loading…
Cancel
Save