From ed37787243680b25095fcec36e67b666703229d1 Mon Sep 17 00:00:00 2001 From: mohuishou <1@lailin.xyz> Date: Thu, 29 Mar 2018 11:30:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A0=A1=E5=8E=86=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E5=88=B7=E6=96=B0=E5=90=8E=E4=BA=8B=E4=BB=B6=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ChangeLog.md | 4 +++- src/config/index.js | 2 +- src/pages/calendar.vue | 6 +++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index b4cdcd1..9a7cc65 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -10,8 +10,10 @@ - [ ] ~~文章详情页面,文档预览(暂时不做,链接太多,如果通过服务器中转又会导致严重占用带宽)~~ - [x] 新增10个左右网站爬虫, 去除scuinfo爬虫 - [x] 校车背景调整 -- [ ] 修复校历下拉刷新后事件重复的bug,校历页面优化 +- [x] 修复校历下拉刷新后事件重复的bug,校历页面优化 +- [x] 校历新增分享 - [x] Toast去除图标以显示更多的信息 +- [x] 更新检测 ## 0.6.1 diff --git a/src/config/index.js b/src/config/index.js index 72b274c..b1867e9 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -1,6 +1,6 @@ const env = process.env.NODE_ENV === 'production' ? 'prod' : 'dev' const domains = { - dev: 'http://localhost:8880', + dev: 'https://test.api.scuplus.cn', prod: 'https://api.scuplus.cn' } export const domain = domains[env] diff --git a/src/pages/calendar.vue b/src/pages/calendar.vue index b7b5314..74142d4 100644 --- a/src/pages/calendar.vue +++ b/src/pages/calendar.vue @@ -224,7 +224,8 @@ } async get() { try { - // this.events = [] + this.events = [] + this.$apply() const resp = await this.GET("/term/events") this.term = resp.data.term resp.data.events.forEach(e => { @@ -339,5 +340,8 @@ this.current.month = this.today.month = new Date().getMonth() + 1 this.init(); } + onShareAppMessage(options) { + return {} + } }