refactor(web-antd): 重构 Tinyflow 组件并优化类型定义

- 将 Item 类型和 Tinyflow 相关类型移动到 ui/typing 文件夹
- 删除 ui/index.d.ts 文件,减少冗余类型定义
- 优化 Tinyflow 组件代码,简化 imports
- 移除 formatTime.ts 中的冗余代码,使用 @vben/utils 中的 formatDate 函数
This commit is contained in:
gjd
2025-06-16 09:47:32 +08:00
parent 33b7a11a4e
commit f285aa8a27
4 changed files with 43 additions and 64 deletions

View File

@@ -1,9 +1,9 @@
<script setup lang="ts">
import type { Item } from './ui';
import type { Item } from './ui/typing';
import { onMounted, onUnmounted, ref } from 'vue';
import { Tinyflow as TinyflowNative } from './ui';
import { Tinyflow as TinyflowNative } from './ui/typing';
import './ui/index.css';