From a2ec1123555301b60492c103d8685e106846ef46 Mon Sep 17 00:00:00 2001 From: wally <18603454788@163.com> Date: Wed, 11 Aug 2021 16:07:45 +0800 Subject: [PATCH] =?UTF-8?q?style:=20calendar=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + src/components/Calendar/Calendar.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 635b452..4b3c57d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,7 @@ - | 代码格式细节调整 | cb2532b - | 任务快捷方式图标增加 | 4aba872 - | 修改角色样式 | 73e268e + - | 删除index中没用的alert代码 | 9c9eec7 - | 删除mock,console;upload添加loading | 99d42e2 - | 删除多余字段 | 5ae3973 - | 删除插件携带的多余文件 | 0f392bb diff --git a/src/components/Calendar/Calendar.vue b/src/components/Calendar/Calendar.vue index 9e4ee56..3e6b95a 100644 --- a/src/components/Calendar/Calendar.vue +++ b/src/components/Calendar/Calendar.vue @@ -235,7 +235,7 @@ export default { } else { date = new Date(); } - this.currentDate = date.getDate(); // 今日日期 几号 + this.currentDate = date.getDate(); // 今日几号 this.currentYear = date.getFullYear(); // 当前年份 this.currentMonth = date.getMonth() + 1; // 当前月份 this.currentWeek = date.getDay() === 0 ? 7 : date.getDay(); // 1...6,0 星期几