yshop1.7.1,修复后台表单等问题题
This commit is contained in:
@ -91,6 +91,24 @@ export function formatTime(time, option) {
|
||||
}
|
||||
}
|
||||
|
||||
export function formatTimeTwo(time) {
|
||||
time = time * 1000
|
||||
const d = new Date(time)
|
||||
return (
|
||||
d.getFullYear()+'年'+
|
||||
(d.getMonth() + 1) +
|
||||
'月' +
|
||||
d.getDate() +
|
||||
'日' +
|
||||
d.getHours() +
|
||||
'时' +
|
||||
d.getMinutes() +
|
||||
'分'
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} url
|
||||
* @returns {Object}
|
||||
|
||||
Reference in New Issue
Block a user