1
0
This commit is contained in:
syui 2024-12-09 04:40:48 +09:00
parent 52326ec57f
commit f6676e4e25
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
2 changed files with 6 additions and 5 deletions

View File

@ -7,3 +7,4 @@ $ nvm use 16
$ yarn install $ yarn install
$ yarn dev $ yarn dev
``` ```

View File

@ -1009,7 +1009,7 @@ export default {
.then(response => (this.rcards = response)); .then(response => (this.rcards = response));
} else if (loc === 'svn'){ } else if (loc === 'svn'){
this.cards = ""; this.cards = "";
let url = this.api_url + "sevs?itemsPerPage=4000"; let url = this.api_url + "sevs?itemsPerPage=8000";
axios axios
.get(url) .get(url)
.then(response => (this.sevens = response)); .then(response => (this.sevens = response));
@ -1046,7 +1046,7 @@ export default {
if (this.planet > 0){ if (this.planet > 0){
this.planet_status = true; 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 axios
.get("/json/card.json") .get("/json/card.json")
.then(response => (this.rcards = response)); .then(response => (this.rcards = response));
@ -1086,7 +1086,7 @@ export default {
}, },
page() { page() {
this.id = this.record.data.find((v) => v.username == this.userid).id; 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 axios
.get(url,{ crossdomain: true }) .get(url,{ crossdomain: true })
.then(response => (this.ucard = response)); .then(response => (this.ucard = response));
@ -1095,7 +1095,7 @@ export default {
sort(){ sort(){
if (this.premium) { if (this.premium) {
this.premium = false; 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 this.cards.data.sort((a, b) => {
return b.cp - a.cp; return b.cp - a.cp;
@ -1121,7 +1121,7 @@ export default {
}, },
cardinfo(){ cardinfo(){
this.cards = ""; 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 axios
.get(url,{ crossdomain: true }) .get(url,{ crossdomain: true })
.then(response => (this.cards = response)); .then(response => (this.cards = response));