|
@ -235,7 +235,7 @@ export default { |
|
|
} else { |
|
|
} else { |
|
|
date = new Date(); |
|
|
date = new Date(); |
|
|
} |
|
|
} |
|
|
this.currentDate = date.getDate(); // 今日日期 几号 |
|
|
this.currentDate = date.getDate(); // 今日几号 |
|
|
this.currentYear = date.getFullYear(); // 当前年份 |
|
|
this.currentYear = date.getFullYear(); // 当前年份 |
|
|
this.currentMonth = date.getMonth() + 1; // 当前月份 |
|
|
this.currentMonth = date.getMonth() + 1; // 当前月份 |
|
|
this.currentWeek = date.getDay() === 0 ? 7 : date.getDay(); // 1...6,0 星期几 |
|
|
this.currentWeek = date.getDay() === 0 ? 7 : date.getDay(); // 1...6,0 星期几 |
|
|