yshop3.0-RC2版本
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user