From 52c1ee0b92f946474cb2e7264c60a40d91280b61 Mon Sep 17 00:00:00 2001 From: LittleSound <464388324@qq.com> Date: Mon, 7 Dec 2020 22:13:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E5=93=94=E5=93=A9?= =?UTF-8?q?=E5=93=94=E5=93=A9=E7=94=A8=E6=88=B7=E6=97=B6=E9=97=B4=E7=BA=BF?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=A3=80=E6=B5=8B=E5=B9=B6=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E4=B8=BA=E6=AD=A3=E6=98=AF=E7=BD=91=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/user_timeline/bilibili.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/user_timeline/bilibili.vue b/components/user_timeline/bilibili.vue index 9fc44e0c2..b73e81645 100644 --- a/components/user_timeline/bilibili.vue +++ b/components/user_timeline/bilibili.vue @@ -64,7 +64,7 @@ export default { return { pull: { params: { - network: 'test', + network: '', pagesize: 12, start: '' }, @@ -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) {