传入毫秒值(datestemp)
// 将毫秒值 转变成 yyyy-MM-dd
formatTime(datestemp){
const date = new Date(datestemp)
const toDouble = (n) => (n+'').length < 2 ? '0' + n : n
const endDay = [date.getFullYear(), toDouble(date.getMonth() + 1), toDouble(date.getDate())].join('-')
const clock = date.toTimeString().slice(0,8)
return endDay+' '+clock
},