review:antd 工具类相关
parent
5c52d3f815
commit
43f01eeb4d
|
@ -4,6 +4,7 @@
|
||||||
* @param ms 毫秒
|
* @param ms 毫秒
|
||||||
* @returns {string} 字符串
|
* @returns {string} 字符串
|
||||||
*/
|
*/
|
||||||
|
// TODO @xingyu:这个要融合到哪里去 date 么?
|
||||||
export function formatPast2(ms: number): string {
|
export function formatPast2(ms: number): string {
|
||||||
// 定义时间单位常量,便于维护
|
// 定义时间单位常量,便于维护
|
||||||
const SECOND = 1000;
|
const SECOND = 1000;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import { defineAsyncComponent } from 'vue';
|
import { defineAsyncComponent } from 'vue';
|
||||||
|
|
||||||
const modules = import.meta.glob('../views/**/*.{vue,tsx}');
|
const modules = import.meta.glob('../views/**/*.{vue,tsx}');
|
||||||
|
// TODO @xingyu:这个要不要融合到哪个 router util 里?
|
||||||
/**
|
/**
|
||||||
* 注册一个异步组件
|
* 注册一个异步组件
|
||||||
* @param componentPath 例:/bpm/oa/leave/detail
|
* @param componentPath 例:/bpm/oa/leave/detail
|
||||||
|
|
Loading…
Reference in New Issue