From a99d030b46ad6cf87080295a05d6ed694ef5a423 Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 4 Jan 2023 14:01:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E4=BA=8E401=E7=9A=84=E9=87=8D?= =?UTF-8?q?=E7=99=BB=E9=99=86=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/fengdu/AppVote/AppVote.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/project/fengdu/AppVote/AppVote.vue b/src/project/fengdu/AppVote/AppVote.vue index 5829c32f..888e6f9e 100644 --- a/src/project/fengdu/AppVote/AppVote.vue +++ b/src/project/fengdu/AppVote/AppVote.vue @@ -49,15 +49,15 @@ export default { } }) }, - getList() { + getList(retry = false) { this.$http.post("/app/appvideoinfo/list", null, { - withoutToken: true, + withoutToken: !this.user.token || retry, params: {size: 20} }).then(res => { if (res?.data) { this.list = res.data.records } - }) + }).catch(() => !retry && this.getList(true)) }, handleDetail(id) { if (!this.user.token) this.wxLogin++