Browse Source

Pull request #3644: BI-130558 fix: 【6.0.13发散】预览布局和内容缩放,控件下拉搜索,全选和选项的缩放比例不一样

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

* commit '681762a612ff787f20cab4f0005fd2c104424940':
  BI-130558 fix: 【6.0.13发散】预览布局和内容缩放,控件下拉搜索,全选和选项的缩放比例不一样
research/test
Dailer-刘荣歆 1 year ago
parent
commit
477c65a6b2
  1. 2
      packages/fineui/src/base/combination/searcher.js
  2. 2
      packages/fineui/src/widget/multilayerdownlist/combo.downlist.js
  3. 10
      packages/fineui/src/widget/multiselect/search/multiselect.search.loader.js

2
packages/fineui/src/base/combination/searcher.js

@ -134,7 +134,7 @@ export class Searcher extends Widget {
this.popupView = createWidget(popup, {
type: SearcherView.xtype,
chooseType,
});
}, this);
this.popupView.on(Controller.EVENT_CHANGE, (type, value, obj, ...args) => {
this.fireEvent(Controller.EVENT_CHANGE, type, value, obj, ...args);
if (type === Events.CLICK) {

2
packages/fineui/src/widget/multilayerdownlist/combo.downlist.js

@ -33,7 +33,7 @@ export class MultiLayerDownListCombo extends Widget {
items: o.items,
chooseType: o.chooseType,
value: o.value,
});
}, this);
this.popupview.on(MultiLayerDownListPopup.EVENT_CHANGE, value => {
this.fireEvent(MultiLayerDownListCombo.EVENT_CHANGE, value);

10
packages/fineui/src/widget/multiselect/search/multiselect.search.loader.js

@ -113,7 +113,7 @@ export class MultiSelectSearchLoader extends Widget {
el: {
chooseType: BI.ButtonGroup.CHOOSE_TYPE_MULTI,
behaviors: {
redmark () {
redmark() {
return true;
},
},
@ -123,7 +123,7 @@ export class MultiSelectSearchLoader extends Widget {
}
],
},
itemsCreator (op, callback) {
itemsCreator(op, callback) {
self.storeValue && (op = BI.extend(op || {}, {
selectedValues: self.storeValue.value,
}));
@ -146,13 +146,13 @@ export class MultiSelectSearchLoader extends Widget {
},
value: opts.value,
height: "fill",
});
this.button_group.on(Controller.EVENT_CHANGE, function () {
}, this);
this.button_group.on(Controller.EVENT_CHANGE, function() {
self.fireEvent(Controller.EVENT_CHANGE, arguments);
});
const searchLoaderEventChangeName = opts.allowSelectAll ? SelectList.EVENT_CHANGE : ListPane.EVENT_CHANGE;
this.button_group.on(searchLoaderEventChangeName, function () {
this.button_group.on(searchLoaderEventChangeName, function() {
self.fireEvent(MultiSelectSearchLoader.EVENT_CHANGE, arguments);
});
}

Loading…
Cancel
Save