Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Commit

Permalink
fix(feed): (#463) 修复动态列表接口加载异常的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Aug 21, 2018
1 parent af7ee9e commit 92cc844
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/page/feed/FeedList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default {
},
computed: {
feedType() {
return this.$route.query.type || "hot";
return this.$route.query.type;
},
feeds: {
get() {
Expand Down Expand Up @@ -149,6 +149,7 @@ export default {
});
},
onLoadMore(callback) {
if (!this.feedType) return;
// 热门动态 修改为 offset
const after =
this.feedType === "hot"
Expand Down

0 comments on commit 92cc844

Please sign in to comment.