Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Commit

Permalink
修复校历下拉刷新后事件重复的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mohuishou committed Mar 29, 2018
1 parent 48dbfbe commit ed37787
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
- [ ] ~~文章详情页面,文档预览(暂时不做,链接太多,如果通过服务器中转又会导致严重占用带宽)~~
- [x] 新增10个左右网站爬虫, 去除scuinfo爬虫
- [x] 校车背景调整
- [ ] 修复校历下拉刷新后事件重复的bug,校历页面优化
- [x] 修复校历下拉刷新后事件重复的bug,校历页面优化
- [x] 校历新增分享
- [x] Toast去除图标以显示更多的信息
- [x] 更新检测

## 0.6.1

Expand Down
2 changes: 1 addition & 1 deletion src/config/index.js
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
6 changes: 5 additions & 1 deletion src/pages/calendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down Expand Up @@ -339,5 +340,8 @@
this.current.month = this.today.month = new Date().getMonth() + 1
this.init();
}
onShareAppMessage(options) {
return {}
}
}
</script>

0 comments on commit ed37787

Please sign in to comment.