uniapp js 时间戳转换时间
var dates=12345612
var now = new Date(dates*1000);
var year = now.getFullYear();
var month = now.getMonth() + 1;
if (month < 10) {
month = '0' + month
}
var date = now.getDate();
if (date < 10) {
date = '0' + date
}
console.log( year + "-" + month + "-" + date)