Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_wxcp_app into dev
This commit is contained in:
@@ -49,15 +49,15 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getList() {
|
getList(retry = false) {
|
||||||
this.$http.post("/app/appvideoinfo/list", null, {
|
this.$http.post("/app/appvideoinfo/list", null, {
|
||||||
withoutToken: true,
|
withoutToken: !this.user.token || retry,
|
||||||
params: {size: 20}
|
params: {size: 20}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.list = res.data.records
|
this.list = res.data.records
|
||||||
}
|
}
|
||||||
})
|
}).catch(() => !retry && this.getList(true))
|
||||||
},
|
},
|
||||||
handleDetail(id) {
|
handleDetail(id) {
|
||||||
if (!this.user.token) this.wxLogin++
|
if (!this.user.token) this.wxLogin++
|
||||||
|
|||||||
Reference in New Issue
Block a user