From 78d6b533e01c95b0b05b55ca4913109326f35a18 Mon Sep 17 00:00:00 2001 From: puxuan <413323644@qq.com> Date: Tue, 19 Aug 2025 17:30:14 +0800 Subject: [PATCH] fix bug --- lua/app/ui/main_city/component/main_comp.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/app/ui/main_city/component/main_comp.lua b/lua/app/ui/main_city/component/main_comp.lua index 1d4c7c39..96feacf5 100644 --- a/lua/app/ui/main_city/component/main_comp.lua +++ b/lua/app/ui/main_city/component/main_comp.lua @@ -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()