红色框内就是获取了当前日期(和下面代码内是一样的)
var Today = new Date();
this.today = Today.getFullYear()+ "年" + (Today.getMonth()+1) + "月" + Today.getDate() + "日"
红色框内就是获取了当前日期(和下面代码内是一样的)
var Today = new Date();
this.today = Today.getFullYear()+ "年" + (Today.getMonth()+1) + "月" + Today.getDate() + "日"