Browse Source

Pull request #2433: REPORT-62021 fix:单选下拉树additem触发change事件

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

* commit '5e505b43a8373ed4c4fea1eb51fbeb807ed36ebb':
  REPORT-62021 fix:单选下拉树additem触发change事件
es6
Freddy 3 years ago
parent
commit
ef955c568f
  1. 1
      src/widget/multilayerselecttree/multilayerselecttree.combo.js
  2. 1
      src/widget/multilayersingletree/multilayersingletree.combo.js

1
src/widget/multilayerselecttree/multilayerselecttree.combo.js

@ -174,6 +174,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
var value = self.trigger.getSearcher().getKeyword();
self.combo.setValue([value]);
self.combo.hideView();
self.fireEvent(BI.MultiLayerSelectTreeCombo.EVENT_CHANGE);
}
}]
},

1
src/widget/multilayersingletree/multilayersingletree.combo.js

@ -176,6 +176,7 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
var value = self.trigger.getSearcher().getKeyword();
self.combo.setValue([value]);
self.combo.hideView();
self.fireEvent(BI.MultiLayerSingleTreeCombo.EVENT_CHANGE);
}
}]
},

Loading…
Cancel
Save