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++