Browse Source

HL-5881 添加紫色

syhx
yufei_wang 2 months ago
parent
commit
a9bdb83298
  1. 2
      src/components/DictTag/src/DictTag.vue

2
src/components/DictTag/src/DictTag.vue

@ -47,7 +47,7 @@ export default defineComponent({
if (dictDataList.length == 0) {
if(dictData.value?.label !== '' && dictData.value?.label !== undefined){
return (<ElTag
style={dictData.value?.cssClass=='none'?'background-color: transparent;':dictData.value?.cssClass ? 'color: #fff' : ''}
style={dictData.value?.cssClass=='none'?'background-color: transparent;':dictData.value?.cssClass=='purple_type'?'background-color: #f7ebf9;border-color: #ecd5ec;color: #e348e3;':dictData.value?.cssClass ? 'color: #fff' : ''}
type={dictData.value?.colorType}
color={
dictData.value?.cssClass && isHexColor(dictData.value?.cssClass)

Loading…
Cancel
Save