Commit c80b41e1 by 陆志强

feat: 延迟接口刷新时机

parent c4ee8e14
...@@ -186,10 +186,12 @@ export default { ...@@ -186,10 +186,12 @@ export default {
if (this.$route.query.backUrl) { if (this.$route.query.backUrl) {
window.location.href = this.$route.query.backUrl window.location.href = this.$route.query.backUrl
} }
Bus.$emit('LotteryInfoUpdate', { setTimeout(() => {
id: this.$route.query.id, Bus.$emit('LotteryInfoUpdate', {
playId: this.$route.query.sessionId, id: this.$route.query.id,
}) playId: this.$route.query.sessionId,
})
}, 1000)
}, 1500) }, 1500)
} else { } else {
this.$toast(res.errorMessage) this.$toast(res.errorMessage)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment