摘要:
export function parseTime (time: Date | number | string, cFormat?: string) { if (arguments.length 0) { return null } const format = cFormat || '{y}-{m 阅读全文
摘要:
// 公共枚举转换 export function commonEnumFormat (options: Array<optionsType>, state: string | number) { if (options.length > 0 && typeof state !== 'undefin 阅读全文