getdate() {
this.datelist = [];
for (var i = 0; i < 10; i++) {
let data = {
date: moment().subtract(0 - i, "days").format("MM月DD日"),
}
this.datelist.push(data)
};
console.log(this.datelist);
},
网友评论