|
@@ -286,7 +286,7 @@
|
|
|
}
|
|
|
this.startDate = nian + "-" + yue + "-" + ri //一年前的時間
|
|
|
this.endDate = date.getFullYear() + "-" + (date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date
|
|
|
- .getMonth()) + "-" + (date.getDate() < 10 ? "0" + date.getDate() : date.getDate()) //當前時間
|
|
|
+ .getMonth()+1) + "-" + (date.getDate() < 10 ? "0" + date.getDate() : date.getDate()) //當前時間
|
|
|
this.value1.push(this.startDate)
|
|
|
this.value1.push(this.endDate)
|
|
|
this.getList();
|