修复自定义字典样式不生效问题

This commit is contained in:
RuoYi
2022-05-27 11:32:36 +08:00
parent 1e08687175
commit 719e0853fa
3 changed files with 5 additions and 4 deletions

View File

@ -6,7 +6,7 @@
v-if="item.elTagType == 'default' || item.elTagType == ''"
:key="item.value"
:index="index"
:class="item.elTagType"
:class="item.elTagClass"
>{{ item.label }}</span>
<el-tag
v-else
@ -14,7 +14,7 @@
:key="item.value + ''"
:index="index"
:type="item.elTagType === 'primary' ? '' : item.elTagType"
:class="item.elTagType"
:class="item.elTagClass"
>{{ item.label }}</el-tag>
</template>
</template>