From f4939c0099f949f0645c47240b6b87413185d914 Mon Sep 17 00:00:00 2001 From: anlicheng <244108715@qq.com> Date: Mon, 14 Apr 2025 17:25:29 +0800 Subject: [PATCH] fix index --- dimensionhub/Views/Index/IndexModel.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dimensionhub/Views/Index/IndexModel.swift b/dimensionhub/Views/Index/IndexModel.swift index 29f1d46..651211b 100644 --- a/dimensionhub/Views/Index/IndexModel.swift +++ b/dimensionhub/Views/Index/IndexModel.swift @@ -95,6 +95,7 @@ final class IndexModel { self.cancel = self.scrollIDPublisher .sink { userId, scrollID in + // 更新group的label的部分 self.dramaGroupElements.forEach { element in switch element { case .label(_, _): @@ -158,7 +159,7 @@ final class IndexModel { // 按照id来判断不一定正确,需要借助其他值 let dramaIds = self.getDramaIds(self.updateDramaGroups) - print("current ids: \(dramaIds)") + //print("current ids: \(dramaIds)") switch mode { case .prev: