review:antd 工具类相关

This commit is contained in:
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;