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:
波比小金刚 2021-05-09 10:40:18 +08:00 committed by GitHub
parent 0d877688cd
commit fc95fc4c81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -242,7 +242,7 @@ export default defineComponent({
} }
onMounted(() => { onMounted(() => {
if (props.activeValue || props.inactiveValue) { if (props.activeColor || props.inactiveColor) {
setBackgroundColor() setBackgroundColor()
} }