// 获取现在的时间戳
nowTime(){
let times=new Date()
// console.log(times);
let year=times.getFullYear()
let m=times.getMonth()+1
let d=times.getDate()
let csv=year+'-'+m+'-'+d
return csv
},
获取现在的时间
猜你喜欢
转载自blog.csdn.net/qq_45894929/article/details/111693098
今日推荐
周排行