From f285aa8a2707b1b389fcb035d791b65c1911b7ae Mon Sep 17 00:00:00 2001 From: gjd Date: Mon, 16 Jun 2025 09:47:32 +0800 Subject: [PATCH] =?UTF-8?q?refactor(web-antd):=20=E9=87=8D=E6=9E=84=20Tiny?= =?UTF-8?q?flow=20=E7=BB=84=E4=BB=B6=E5=B9=B6=E4=BC=98=E5=8C=96=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 Item 类型和 Tinyflow 相关类型移动到 ui/typing 文件夹 - 删除 ui/index.d.ts 文件,减少冗余类型定义 - 优化 Tinyflow 组件代码,简化 imports - 移除 formatTime.ts 中的冗余代码,使用 @vben/utils 中的 formatDate 函数 --- .../src/components/Tinyflow/Tinyflow.vue | 4 +- .../src/components/Tinyflow/ui/index.d.ts | 41 ------------------- .../src/components/Tinyflow/ui/typing.ts | 40 ++++++++++++++++++ apps/web-antd/src/utils/formatTime.ts | 22 +--------- 4 files changed, 43 insertions(+), 64 deletions(-) delete mode 100644 apps/web-antd/src/components/Tinyflow/ui/index.d.ts create mode 100644 apps/web-antd/src/components/Tinyflow/ui/typing.ts diff --git a/apps/web-antd/src/components/Tinyflow/Tinyflow.vue b/apps/web-antd/src/components/Tinyflow/Tinyflow.vue index c2ecfc03f..ecd826298 100644 --- a/apps/web-antd/src/components/Tinyflow/Tinyflow.vue +++ b/apps/web-antd/src/components/Tinyflow/Tinyflow.vue @@ -1,9 +1,9 @@