细节完善
This commit is contained in:
@@ -67,7 +67,7 @@ export default defineStore("store", {
|
||||
return getLvlImage(rankLvl, this.config.randInfos);
|
||||
},
|
||||
updateRank(data = {}) {
|
||||
this.rankData = { rank: data.rank || [], ringRank: data.ringRank || [] };
|
||||
this.rankData = { ...(data || {}) };
|
||||
},
|
||||
async updateUser(user = {}) {
|
||||
this.user = { ...defaultUser, ...user };
|
||||
|
||||
Reference in New Issue
Block a user