1.4 修改概念中心日期默认传值
This commit is contained in:
@@ -41,8 +41,8 @@ const _sfc_main = {
|
||||
let currentDay = currentDate.getDate();
|
||||
this.selectMonthIndex = 20 * 12 + currentMonth - 1;
|
||||
this.selectMonth = currentYear + "年" + currentMonth + "月";
|
||||
this.startDateStr = currentYear + "-" + currentMonth + "-01";
|
||||
this.endDateStr = this.selectDateStr = currentYear + "-" + currentMonth + "-" + (currentDay > 9 ? currentDay : "0" + currentDay);
|
||||
this.startDateStr = currentYear + "-" + (currentMonth > 9 ? currentMonth : "0" + currentMonth) + "-01";
|
||||
this.endDateStr = this.selectDateStr = currentYear + "-" + (currentMonth > 9 ? currentMonth : "0" + currentMonth) + "-" + (currentDay > 9 ? currentDay : "0" + currentDay);
|
||||
this.generateMonthDateListData();
|
||||
if (e.id) {
|
||||
this.conceptId = e.id;
|
||||
|
||||
Reference in New Issue
Block a user