摘要: export function parseTime (time: Date | number | string, cFormat?: string) { if (arguments.length 0) { return null } const format = cFormat || '{y}-{m 阅读全文
posted @ 2022-04-15 14:44 举个栗子走天下 阅读(201) 评论(0) 推荐(0) 编辑
摘要: // 公共枚举转换 export function commonEnumFormat (options: Array<optionsType>, state: string | number) { if (options.length > 0 && typeof state !== 'undefin 阅读全文
posted @ 2022-04-15 14:34 举个栗子走天下 阅读(45) 评论(0) 推荐(0) 编辑