From e73f90bb05e7dda4d23777bde0a6416cf04a623c Mon Sep 17 00:00:00 2001
From: dap <15891557205@163.com>
Date: Tue, 13 Jan 2026 21:56:15 +0800
Subject: [PATCH] =?UTF-8?q?refactor(dict):=20=E9=87=8D=E6=9E=84=E5=AD=97?=
=?UTF-8?q?=E5=85=B8=E6=A0=87=E7=AD=BE=E5=B1=95=E7=A4=BA=E9=80=BB=E8=BE=91?=
=?UTF-8?q?=E4=BD=BF=E7=94=A8=20TSX=20=E8=AF=AD=E6=B3=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
将字典标签的展示逻辑从模板语法重构为 TSX 语法,使用 Descriptions 组件的 items 属性统一管理
修复 class 属性顺序不一致的问题,提升代码可维护性
---
.../src/views/演示使用自行删除/dict/index.vue | 90 +++++++++++--------
1 file changed, 52 insertions(+), 38 deletions(-)
diff --git a/apps/web-antd/src/views/演示使用自行删除/dict/index.vue b/apps/web-antd/src/views/演示使用自行删除/dict/index.vue
index fd266424..73596591 100644
--- a/apps/web-antd/src/views/演示使用自行删除/dict/index.vue
+++ b/apps/web-antd/src/views/演示使用自行删除/dict/index.vue
@@ -1,4 +1,6 @@
-
@@ -98,41 +146,7 @@ const filterCode = `
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ v }} 跟上面相同的写法
-
-
-
-
+
@@ -141,7 +155,7 @@ const filterCode = `
这里使用computed过滤了部分选项