fix bug
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user