Skip to content

Commit 3198357

Browse files
committed
fix: 🐛 修复更新图片 url 后未立刻开始加载的 bug
1 parent 6f788bb commit 3198357

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/components/Manga/actions/imageLoad.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ export const updateImgLoadType = singleThreaded(() => {
200200
createEffectOn(
201201
[
202202
preloadNum,
203-
createRootMemo(() => [...renderImgList()].map((i) => store.imgList[i])),
203+
renderImgList,
204+
() => store.imgMap,
204205
() => store.option.alwaysLoadAllImg,
205206
],
206207
updateImgLoadType,

0 commit comments

Comments
 (0)