You've already forked DataMate
fix(annotation): 统一分页参数配置
- 修正 CreateAnnotationTaskDialog 中模板获取的分页参数,将 page 从 1 改为 0 - 添加注释说明使用与 useFetchData 默认行为一致的分页 -
This commit is contained in:
@@ -71,7 +71,7 @@ const TemplateList: React.FC = () => {
|
||||
fetchData,
|
||||
handleFiltersChange,
|
||||
handleKeywordChange,
|
||||
} = useFetchData(queryAnnotationTemplatesUsingGet, undefined, undefined, undefined, undefined, 0);
|
||||
} = useFetchData(queryAnnotationTemplatesUsingGet);
|
||||
|
||||
const handleCreate = () => {
|
||||
setFormMode("create");
|
||||
|
||||
Reference in New Issue
Block a user