You've already forked DataMate
fix(annotation): 调整模板查询大小限制
- 将模板查询大小从 200 减少到 100 - 添加注释说明后端最大限制为 100 - 确保与模板 API 的 'size' 参数一致
This commit is contained in:
@@ -156,7 +156,7 @@ export default function CreateAnnotationTask({
|
||||
try {
|
||||
const templateResponse = await queryAnnotationTemplatesUsingGet({
|
||||
page: 1,
|
||||
size: 200,
|
||||
size: 100, // Backend max is 100 (template API uses 'size' not 'pageSize')
|
||||
dataType,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user