yshop3.0-RC2版本

This commit is contained in:
hupeng
2020-07-09 15:59:53 +08:00
parent 329d1e1de3
commit 3dd6eff302
327 changed files with 133884 additions and 2020 deletions

View File

@ -54,6 +54,8 @@ export function parseTime(time, cFormat) {
* @returns {string}
*/
export function formatTime(time, option) {
if(time == null) return '----'
if (('' + time).length === 10) {
time = parseInt(time) * 1000
} else {