review:antd 工具类相关

pull/99/MERGE
YunaiV 2025-05-12 09:54:35 +08:00
parent 5c52d3f815
commit 43f01eeb4d
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@
* @param ms
* @returns {string}
*/
// TODO @xingyu这个要融合到哪里去 date 么?
export function formatPast2(ms: number): string {
// 定义时间单位常量,便于维护
const SECOND = 1000;

View File

@ -1,6 +1,7 @@
import { defineAsyncComponent } from 'vue';
const modules = import.meta.glob('../views/**/*.{vue,tsx}');
// TODO @xingyu这个要不要融合到哪个 router util 里?
/**
*
* @param componentPath :/bpm/oa/leave/detail