vue中获取当天日期
let now = new Date();
let year = now.getFullYear();
let month = now.getMonth() + 1;
let day = now.getDate();
this.xianshi=year+'年'+month+'月'+day+'日'
vue中获取当天日期
let now = new Date();
let year = now.getFullYear();
let month = now.getMonth() + 1;
let day = now.getDate();
this.xianshi=year+'年'+month+'月'+day+'日'