修改el-tag中type属性的默认值, type属性枚举不包含primary (#1593)
This commit is contained in:
parent
e0a8e93704
commit
d3f5ed7d60
|
@ -78,7 +78,7 @@
|
|||
>
|
||||
<template #default="scope">
|
||||
<el-tag
|
||||
:type="scope.row.tag === 'jpg' ? 'primary' : 'success'"
|
||||
:type="scope.row.tag === 'jpg' ? 'info' : 'success'"
|
||||
disable-transitions
|
||||
>{{ scope.row.tag }}
|
||||
</el-tag>
|
||||
|
|
Loading…
Reference in New Issue