Browse Source

BI-125725 fix: 【6.0.10发散】组件维度切换按钮无法正常切换维度

es6
zsmj 2 years ago
parent
commit
b30859bb41
  1. 2
      packages/fineui/src/case/button/node/node.plus.js
  2. 2
      packages/fineui/src/case/combo/textvaluecheckcombo/combo.textvaluecheck.js
  3. 2
      packages/fineui/src/case/combo/textvaluecombo/popup.textvalue.js

2
packages/fineui/src/case/button/node/node.plus.js

@ -36,7 +36,7 @@ export class PlusGroupNode extends NodeButton {
if (type === Events.CLICK) { if (type === Events.CLICK) {
this.setSelected(this.isSelected()); this.setSelected(this.isSelected());
} }
this.fireEvent(Controller.EVENT_CHANGE, args); this.fireEvent(Controller.EVENT_CHANGE, ...args);
}); });
return { return {

2
packages/fineui/src/case/combo/textvaluecheckcombo/combo.textvaluecheck.js

@ -55,7 +55,7 @@ export class TextValueCheckCombo extends Widget {
this.popup.on( this.popup.on(
Controller.EVENT_CHANGE, Controller.EVENT_CHANGE,
(...args) => { (...args) => {
this.fireEvent(Controller.EVENT_CHANGE, args); this.fireEvent(Controller.EVENT_CHANGE, ...args);
} }
); );
this.textIconCheckCombo = createWidget({ this.textIconCheckCombo = createWidget({

2
packages/fineui/src/case/combo/textvaluecombo/popup.textvalue.js

@ -60,7 +60,7 @@ export class TextValueComboPopup extends Pane {
eventName: Controller.EVENT_CHANGE, eventName: Controller.EVENT_CHANGE,
action: (...args) => { action: (...args) => {
const [type, val, obj] = args; const [type, val, obj] = args;
this.fireEvent(Controller.EVENT_CHANGE, args); this.fireEvent(Controller.EVENT_CHANGE, ...args);
if (type === Events.CLICK) { if (type === Events.CLICK) {
this.fireEvent(TextValueComboPopup.EVENT_CHANGE, val, obj); this.fireEvent(TextValueComboPopup.EVENT_CHANGE, val, obj);
} }

Loading…
Cancel
Save