This commit is contained in:
puxuan 2025-08-19 17:30:14 +08:00
parent 1f552c4a41
commit 78d6b533e0

View File

@ -167,6 +167,7 @@ function MainComp:refreshChapter(force)
local chapterId = DataManager.ChapterData:getChapterId()
self.chapterList = DataManager.ChapterData:getChapterList(self.chapterPage)
if self.currChapterId ~= chapterId or force then
self.currChapterId = chapterId
self.chapterPage = DataManager.ChapterData:getChapterPage(chapterId)
self.chapterStage = DataManager.ChapterData:getChapterStage(chapterId)
self:refreshChapterBg()