fix(annotation): 统一分页参数配置

- 修正 CreateAnnotationTaskDialog 中模板获取的分页参数,将 page 从 1 改为 0
- 添加注释说明使用与 useFetchData 默认行为一致的分页
-
This commit is contained in:
2026-01-19 10:50:21 +08:00
parent de731babf3
commit 8bacf5be74
3 changed files with 4 additions and 4 deletions

View File

@@ -71,7 +71,7 @@ const TemplateList: React.FC = () => {
fetchData,
handleFiltersChange,
handleKeywordChange,
} = useFetchData(queryAnnotationTemplatesUsingGet, undefined, undefined, undefined, undefined, 0);
} = useFetchData(queryAnnotationTemplatesUsingGet);
const handleCreate = () => {
setFormMode("create");