细节完善

This commit is contained in:
kron
2025-07-18 15:48:41 +08:00
parent c8dbc1eb5e
commit 115e0cefbb
5 changed files with 9 additions and 1 deletions

View File

@@ -73,6 +73,7 @@ onLoad(async (options) => {
scores.value.length ? "下半场-" : "上半场-"
}请连续射出6支箭`;
const remain = Date.now() / 1000 - battleInfo.startTime;
console.log(`当前局剩余${remain}`);
if (remain <= 90) {
setTimeout(() => {
uni.$emit("update-ramain", remain);