Browse Source

BI-124572 fix: 过滤组件主题色修复

master
Jimmy.Chai 4 months ago
parent
commit
191175deea
  1. 9
      packages/fineui/src/base/single/input/radio/radio.js
  2. 1
      packages/fineui/src/case/toolbar/toolbar.multiselect.js

9
packages/fineui/src/base/single/input/radio/radio.js

@ -56,13 +56,4 @@ export class Radio extends BasicButton {
this.fireEvent(Radio.EVENT_CHANGE);
}
}
setSelected(b) {
super.setSelected(b);
if (b) {
this.radio.element.addClass("bi-high-light-background");
} else {
this.radio.element.removeClass("bi-high-light-background");
}
}
}

1
packages/fineui/src/case/toolbar/toolbar.multiselect.js

@ -126,6 +126,7 @@ export class MultiSelectBar extends BasicButton {
}
setSelected(v) {
super.setSelected(v);
this.checkbox.setSelected(v);
this.setHalfSelected(false);
}

Loading…
Cancel
Save