Skip to content

Commit

Permalink
Merge pull request #937 from Matataki-io/LittleSound/dev
Browse files Browse the repository at this point in the history
修复了哔哩哔哩用户时间线没有检测并切换为正式网的问题
  • Loading branch information
LittleSound authored Dec 7, 2020
2 parents c6f12f2 + 52c1ee0 commit 394d90f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/user_timeline/bilibili.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default {
return {
pull: {
params: {
network: 'test',
network: '',
pagesize: 12,
start: ''
},
Expand All @@ -80,6 +80,10 @@ export default {
computed: {
...mapGetters(['isMe']),
},
mounted () {
this.pull.params.network = this.$utils.getNetwork(window)
if (this.pull.params.network === 'dev') this.pull.params.network = 'test'
},
methods: {
// 点击更多按钮返回的数据
buttonLoadMoreRes(res) {
Expand Down

0 comments on commit 394d90f

Please sign in to comment.