mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
feat(CheckboxGroup): add checked-color prop (#4531)
This commit is contained in:
@@ -28,7 +28,7 @@ export const CheckboxMixin = ({ parent, bem, role }) => ({
|
||||
},
|
||||
|
||||
iconStyle() {
|
||||
const { checkedColor } = this;
|
||||
const checkedColor = this.checkedColor || (this.parent && this.parent.checkedColor);
|
||||
if (checkedColor && this.checked && !this.isDisabled) {
|
||||
return {
|
||||
borderColor: checkedColor,
|
||||
|
Reference in New Issue
Block a user