Browse Source

style: calendar注释

pull/1/head
wally 4 years ago
parent
commit
a2ec112355
  1. 1
      CHANGELOG.md
  2. 2
      src/components/Calendar/Calendar.vue

1
CHANGELOG.md

@ -51,6 +51,7 @@
- | 代码格式细节调整 | cb2532b - | 代码格式细节调整 | cb2532b
- | 任务快捷方式图标增加 | 4aba872 - | 任务快捷方式图标增加 | 4aba872
- | 修改角色样式 | 73e268e - | 修改角色样式 | 73e268e
- | 删除index中没用的alert代码 | 9c9eec7
- | 删除mock,console;upload添加loading | 99d42e2 - | 删除mock,console;upload添加loading | 99d42e2
- | 删除多余字段 | 5ae3973 - | 删除多余字段 | 5ae3973
- | 删除插件携带的多余文件 | 0f392bb - | 删除插件携带的多余文件 | 0f392bb

2
src/components/Calendar/Calendar.vue

@ -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

Loading…
Cancel
Save