Browse Source

Pull request #283866: BI-124572 fix: 过滤组件主题色修复

Merge in DEC/fineui from ~JIMMY.CHAI/dec-fineui:feature/x to feature/x

* commit '191175deeaf6940b97e3616b16d80f889719d0b5':
  BI-124572 fix: 过滤组件主题色修复
master
Jimmy.Chai-柴嘉明 5 months ago
parent
commit
d3a97b3bfc
  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