diff --git a/apps/web-naive/src/components/dict-tag/dict-tag.vue b/apps/web-naive/src/components/dict-tag/dict-tag.vue index 50c3bf5a5..876816124 100644 --- a/apps/web-naive/src/components/dict-tag/dict-tag.vue +++ b/apps/web-naive/src/components/dict-tag/dict-tag.vue @@ -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 = ''; } } }