feat: gist 单页数量改为 100

This commit is contained in:
xream 2025-01-09 09:14:36 +08:00
parent e6f6d51608
commit 128353a7f3

View File

@ -114,7 +114,9 @@ export default class Gist {
return;
});
} 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);
for (let g of gists) {
if (g.description === this.key) {