mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-21 02:50:11 +08:00
fix: judging by activeColor / inactiveColor (#1966)
If I didn’t miss anything, it should be related to the existence of activeColor or inactiveColor
This commit is contained in:
parent
0d877688cd
commit
fc95fc4c81
@ -242,7 +242,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
if (props.activeValue || props.inactiveValue) {
|
if (props.activeColor || props.inactiveColor) {
|
||||||
setBackgroundColor()
|
setBackgroundColor()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user