mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-11 06:48:57 +08:00
feat: gist 单页数量改为 100
This commit is contained in:
parent
e6f6d51608
commit
128353a7f3
@ -114,7 +114,9 @@ export default class Gist {
|
|||||||
return;
|
return;
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return this.http.get('/gists').then((response) => {
|
return this.http
|
||||||
|
.get('/gists?per_page=100&page=1')
|
||||||
|
.then((response) => {
|
||||||
const gists = JSON.parse(response.body);
|
const gists = JSON.parse(response.body);
|
||||||
for (let g of gists) {
|
for (let g of gists) {
|
||||||
if (g.description === this.key) {
|
if (g.description === this.key) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user