// 获取当前时间
getNowTime: function () {
let dateTime;
let yy = new Date().getFullYear();
let MM = new Date().getMonth() + 1;
let dd = new Date().getDate();
let hh = new Date().getHours();
let mm = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes():new Date().getMinutes();
let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds():new Date().getSeconds();
dateTime = yy + '-' + MM + '-' + dd + ' ' + hh + ':' + mm + ':' + ss;
console.log(dateTime);
return dateTime;
},