mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-18 10:59:10 +08:00
style(checkbox): optimize code
This commit is contained in:
parent
cdaa5199e2
commit
21382d2ee0
@ -89,10 +89,10 @@ export default defineComponent({
|
||||
|
||||
const activeStyle = computed(() => {
|
||||
return {
|
||||
backgroundColor: checkboxGroup.fill?.value || '',
|
||||
borderColor: checkboxGroup.fill?.value || '',
|
||||
color: checkboxGroup.textColor?.value || '',
|
||||
boxShadow: '-1px 0 0 0 ' + checkboxGroup.fill?.value,
|
||||
backgroundColor: checkboxGroup?.fill?.value ?? '',
|
||||
borderColor: checkboxGroup?.fill?.value ?? '',
|
||||
color: checkboxGroup?.textColor?.value ?? '',
|
||||
boxShadow: '-1px 0 0 0 ' + checkboxGroup?.fill?.value ?? '',
|
||||
}
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user