添加升级显示

This commit is contained in:
kron
2025-07-17 16:14:30 +08:00
parent 62aba0831b
commit ff03998e6d
8 changed files with 109 additions and 8 deletions

View File

@@ -225,7 +225,7 @@ async function onReceiveMessage(messages = []) {
}
}
if (msg.constructor === MESSAGETYPES.MatchOver) {
uni.setStorageSync("last-battle", msg.endStatus);
uni.setStorageSync("last-battle", { ...msg.endStatus, lvl: msg.lvl });
if (msg.endStatus.noSaved) {
uni.showToast({
title: "游戏结束",