Browse Source

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

es6
freddy 3 years ago
parent
commit
5e505b43a8
  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