fix: naive dict type
parent
c26d730a5a
commit
ba7aa17dc3
|
|
@ -43,7 +43,7 @@ const dictTag = computed(() => {
|
||||||
let colorType = dict.colorType;
|
let colorType = dict.colorType;
|
||||||
switch (colorType) {
|
switch (colorType) {
|
||||||
case 'danger': {
|
case 'danger': {
|
||||||
colorType = 'danger';
|
colorType = 'error';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'info': {
|
case 'info': {
|
||||||
|
|
@ -64,7 +64,7 @@ const dictTag = computed(() => {
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
if (!colorType) {
|
if (!colorType) {
|
||||||
colorType = 'primary';
|
colorType = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue