This commit is contained in:
kron
2025-07-07 12:51:02 +08:00
parent 9ad65370b5
commit 3e70de349a
3 changed files with 13 additions and 10 deletions

View File

@@ -89,6 +89,7 @@ export default defineStore("store", {
if (this.user.scores) {
rankInfos.some((r, index) => {
lvlName = rankInfos[index].name;
lvlImage = rankInfos[index].icoin;
if (r.upgrade_scores > this.user.scores) {
if (rankInfos[index - 1]) {
lvlName = rankInfos[index - 1].name;