fix: naive dict type

pull/233/head
xingyu4j 2025-10-17 11:23:23 +08:00
parent c26d730a5a
commit ba7aa17dc3
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ const dictTag = computed(() => {
let colorType = dict.colorType;
switch (colorType) {
case 'danger': {
colorType = 'danger';
colorType = 'error';
break;
}
case 'info': {
@ -64,7 +64,7 @@ const dictTag = computed(() => {
}
default: {
if (!colorType) {
colorType = 'primary';
colorType = '';
}
}
}