feat: unp4k supper search support

This commit is contained in:
xkeyC
2025-12-11 00:54:30 +08:00
parent 83c0fa6a26
commit 3fd020b8b0
9 changed files with 58 additions and 71 deletions

View File

@@ -261,7 +261,7 @@ class DcbViewerModel extends _$DcbViewerModel {
state = state.copyWith(isSearching: true, fullTextSearchQuery: query, viewMode: DcbViewMode.searchResults);
try {
final apiResults = await unp4k_api.dcbSearchAll(query: query, maxResults: BigInt.from(1000000));
final apiResults = await unp4k_api.dcbSearchAll(query: query);
// 转换为本地数据类型
final results = apiResults.map((r) {