|
@ -47,7 +47,7 @@ export default defineComponent({ |
|
|
if (dictDataList.length == 0) { |
|
|
if (dictDataList.length == 0) { |
|
|
if(dictData.value?.label !== '' && dictData.value?.label !== undefined){ |
|
|
if(dictData.value?.label !== '' && dictData.value?.label !== undefined){ |
|
|
return (<ElTag |
|
|
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} |
|
|
type={dictData.value?.colorType} |
|
|
color={ |
|
|
color={ |
|
|
dictData.value?.cssClass && isHexColor(dictData.value?.cssClass) |
|
|
dictData.value?.cssClass && isHexColor(dictData.value?.cssClass) |
|
|