Commit 42b8da16 by 陆志强

feat: 优化更新接口时机

parent e6f1d38a
......@@ -181,14 +181,14 @@ export default {
this.$toast('回答错误!谢谢参与')
}
this.info.answerStatus = 1
Bus.$emit('LotteryInfoUpdate', {
id: this.$route.query.id,
playId: this.$route.query.sessionId,
})
setTimeout(() => {
if (this.$route.query.backUrl) {
window.location.href = this.$route.query.backUrl
}
Bus.$emit('LotteryInfoUpdate', {
id: this.$route.query.id,
playId: this.$route.query.sessionId,
})
}, 1500)
} else {
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