Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
syui committed Dec 8, 2024
1 parent 52326ec commit f6676e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ $ nvm use 16
$ yarn install
$ yarn dev
```

10 changes: 5 additions & 5 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ export default {
.then(response => (this.rcards = response));
} else if (loc === 'svn'){
this.cards = "";
let url = this.api_url + "sevs?itemsPerPage=4000";
let url = this.api_url + "sevs?itemsPerPage=8000";
axios
.get(url)
.then(response => (this.sevens = response));
Expand Down Expand Up @@ -1046,7 +1046,7 @@ export default {
if (this.planet > 0){
this.planet_status = true;
}
let url = this.api_url + "users/" + this.id + "/card?itemsPerPage=4000";
let url = this.api_url + "users/" + this.id + "/card?itemsPerPage=8000";
axios
.get("/json/card.json")
.then(response => (this.rcards = response));
Expand Down Expand Up @@ -1086,7 +1086,7 @@ export default {
},
page() {
this.id = this.record.data.find((v) => v.username == this.userid).id;
let url = this.api_url + "users/" + this.id + "/card?itemsPerPage=4000";
let url = this.api_url + "users/" + this.id + "/card?itemsPerPage=8000";
axios
.get(url,{ crossdomain: true })
.then(response => (this.ucard = response));
Expand All @@ -1095,7 +1095,7 @@ export default {
sort(){
if (this.premium) {
this.premium = false;
let url = this.api_url + "users/" + this.id + "/card?itemsPerPage=4000";
let url = this.api_url + "users/" + this.id + "/card?itemsPerPage=8000";
}
return this.cards.data.sort((a, b) => {
return b.cp - a.cp;
Expand All @@ -1121,7 +1121,7 @@ export default {
},
cardinfo(){
this.cards = "";
let url = this.api_url + "users/" + this.id + "/card?itemsPerPage=4000";
let url = this.api_url + "users/" + this.id + "/card?itemsPerPage=8000";
axios
.get(url,{ crossdomain: true })
.then(response => (this.cards = response));
Expand Down

0 comments on commit f6676e4

Please sign in to comment.