From 410f52766e5db1bb8d6a715b092ea7a8551b4172 Mon Sep 17 00:00:00 2001 From: wally <18603454788@163.com> Date: Wed, 11 Aug 2021 16:04:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AF=BC=E5=85=A5=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E5=90=8E=E6=8F=90=E7=A4=BA=E5=B9=B6=E6=89=93=E5=BC=80=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E8=AF=A6=E6=83=85=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + src/components/Calendar/Calendar.vue | 6 ++-- src/components/Upload/Upload.vue | 26 ++++++++------- src/pages/index/index.vue | 49 ++++++++++++++++++++-------- src/utils/upload.js | 3 +- 5 files changed, 56 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb2dc2e..bf3220e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ### 🌟 新功能 范围|描述|commitId --|--|-- + calendar, tall.js | 上下滑动切换日历的模式,tall.js中domain根据环境变量切换 | 364e25d - | db store | 6414c4f default plugin | 添加默认插件;项目列表;全局项目最大高度设置 | ed1d87b - | indexedDB | 687394e diff --git a/src/components/Calendar/Calendar.vue b/src/components/Calendar/Calendar.vue index 9db5af9..9e4ee56 100644 --- a/src/components/Calendar/Calendar.vue +++ b/src/components/Calendar/Calendar.vue @@ -83,7 +83,7 @@ --> - 今日 + 今日 mb-3 @@ -231,6 +231,7 @@ export default { let date = ''; if (cur) { date = new Date(cur); + console.log('date: ', date); } else { date = new Date(); } @@ -330,7 +331,8 @@ export default { }, // 返回 - goback() { + goToday() { + console.log(1); const d = new Date(); this.initDate(d); }, diff --git a/src/components/Upload/Upload.vue b/src/components/Upload/Upload.vue index 7d0a100..3487143 100644 --- a/src/components/Upload/Upload.vue +++ b/src/components/Upload/Upload.vue @@ -1,31 +1,33 @@