diff --git a/AIStudyApp/AIStudyApp/Features/Library/LibrarySubpages.swift b/AIStudyApp/AIStudyApp/Features/Library/LibrarySubpages.swift index 9a5021d..3ab5bb0 100644 --- a/AIStudyApp/AIStudyApp/Features/Library/LibrarySubpages.swift +++ b/AIStudyApp/AIStudyApp/Features/Library/LibrarySubpages.swift @@ -189,9 +189,7 @@ struct LibraryDetailPage: View { if viewModel.hasMore { ZXLoadMoreFooter { await viewModel.loadMore(knowledgeBaseId: knowledgeBaseId) } } - }.padding(.horizontal, 20).padding(.bottom, 80) } - .scrollIndicators(.hidden) - .zxPullToRefresh { await viewModel.refresh(knowledgeBaseId: knowledgeBaseId) } + }.padding(.horizontal, 20).padding(.bottom, 80) } else { // 资料来源 Tab if isLoadingSources { @@ -227,7 +225,8 @@ struct LibraryDetailPage: View { } } } - }.padding(.horizontal, 20).padding(.bottom, 80) } + } + .padding(.horizontal, 20).padding(.bottom, 80) .scrollIndicators(.hidden) .zxPullToRefresh { await viewModel.refresh(knowledgeBaseId: knowledgeBaseId) } }