websocket优化

This commit is contained in:
kron
2025-06-22 02:39:03 +08:00
parent 322f23efb4
commit d075844cb0
6 changed files with 50 additions and 22 deletions

View File

@@ -33,7 +33,7 @@ export default defineStore("store", {
updateConnect(connect) {
this.remoteConnect = connect;
},
updateUser(user) {
updateUser(user = {}) {
this.user = { ...defaultUser, ...user };
const rankInfos = this.config.randInfos || [];
let lvlName = "";