feat: dict color

pull/4/MERGE
xingyuv 2023-03-27 16:06:34 +08:00
parent a993e24cf2
commit 9b32af1005
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ export default defineComponent({
//
return (
<Tag
style={dictData.value?.cssClass ? 'color: #108ee9' : ''}
style={dictData.value?.cssClass ? 'color: #ffffff' : ''}
type={dictData.value?.colorType}
color={dictData.value?.cssClass && isHexColor(dictData.value?.cssClass) ? dictData.value?.cssClass : ''}
>