From 21b5c126c13349f33c4e922f7b63514ce0bb1f35 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 20 Nov 2025 16:22:47 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90antd/ele=E3=80=91?= =?UTF-8?q?=E3=80=90=E7=BB=84=E4=BB=B6=E3=80=91dict-tag=20=E5=B0=81?= =?UTF-8?q?=E8=A3=85=E7=9A=84=E4=BB=A3=E7=A0=81=E7=BB=9F=E4=B8=80=E8=AF=84?= =?UTF-8?q?=E5=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/dict-tag/dict-tag.vue | 15 +++------------ .../src/components/dict-tag/dict-tag.vue | 17 ++++------------- 2 files changed, 7 insertions(+), 25 deletions(-) diff --git a/apps/web-antd/src/components/dict-tag/dict-tag.vue b/apps/web-antd/src/components/dict-tag/dict-tag.vue index 635cb8eaf..14cc34d86 100644 --- a/apps/web-antd/src/components/dict-tag/dict-tag.vue +++ b/apps/web-antd/src/components/dict-tag/dict-tag.vue @@ -7,18 +7,9 @@ import { isValidColor, TinyColor } from '@vben/utils'; import { Tag } from 'ant-design-vue'; interface DictTagProps { - /** - * 字典类型 - */ - type: string; - /** - * 字典值 - */ - value: any; - /** - * 图标 - */ - icon?: string; + type: string; // 字典类型 + value: any; // 字典值 + icon?: string; // 图标 } const props = defineProps(); diff --git a/apps/web-ele/src/components/dict-tag/dict-tag.vue b/apps/web-ele/src/components/dict-tag/dict-tag.vue index b4be73a92..b3f1b6b3f 100644 --- a/apps/web-ele/src/components/dict-tag/dict-tag.vue +++ b/apps/web-ele/src/components/dict-tag/dict-tag.vue @@ -1,24 +1,15 @@