From ba7aa17dc35165f4d88251fab1bf19b6d1a5af14 Mon Sep 17 00:00:00 2001 From: xingyu4j Date: Fri, 17 Oct 2025 11:23:23 +0800 Subject: [PATCH] fix: naive dict type --- apps/web-naive/src/components/dict-tag/dict-tag.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = ''; } } }