Skip to content

Commit

Permalink
fix: 🐛 修复 mangabz 缺少第一页图片的 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hymbz committed Jul 15, 2024
1 parent ec00442 commit 1ae2322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ try {
getImgList: ({ dynamicUpdate }) =>
dynamicUpdate(async (setImg) => {
for (let i = 0; i < imgNum; i++) {
const newImgs = await getPageImg(i + 1);
const newImgs = await getPageImg(i);
for (const url of newImgs) setImg(i, url);
}
}, imgNum)(),
Expand Down

0 comments on commit 1ae2322

Please sign in to comment.