fix 修复字典el-tag警告

This commit is contained in:
LiuHao
2024-04-16 17:56:36 +08:00
parent 9967a72e24
commit 30f271359a
2 changed files with 10 additions and 2 deletions

View File

@ -55,7 +55,7 @@
>
<el-tag
v-else
:type="scope.row.listClass === 'primary' || scope.row.listClass === 'default' ? '' : scope.row.listClass"
:type="scope.row.listClass === 'primary' || scope.row.listClass === 'default' ? 'primary' : scope.row.listClass"
:class="scope.row.cssClass"
>{{ scope.row.dictLabel }}</el-tag
>