Commit 49594881 authored by 陈冲's avatar 陈冲

fix: 修复

parent a5b770c0
......@@ -217,6 +217,11 @@ if (wechat) {
if (Number.isFinite(remainingSeconds) && remainingSeconds >= 0) {
syncGameCountdown(remainingSeconds)
}
} else if (typeof data === 'object' && data) {
const nextRank = Number(data.rank)
if (Number.isFinite(nextRank) && nextRank > 0) {
rank.value = nextRank
}
}
return { code: 'JGQF', score: tick.value, rank_no: rank.value }
},
......
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 to comment