js中格式化时间

js中格式化时间函数 //格式化时间 function parseTime(time, cFormat) { if (arguments.length === 0) { return null } const format = cFormat || '{y}-{m}-{d} {h}:{i}:{s}' let date if (typeof t
相关文章
相关标签/搜索