You've already forked DataMate
fix(annotation): 修复文本数据集段落切片显示条件
Some checks failed
Some checks failed
- 添加 selectedDatasetId 条件确保段落切片仅在选择数据集后显示 - 防止在未选择数据集时错误显示段落切片配置选项
This commit is contained in:
@@ -644,7 +644,7 @@ export default function CreateAnnotationTask({
|
||||
<TextArea placeholder="(可选)详细描述标注任务的要求和目标" rows={2} />
|
||||
</Form.Item>
|
||||
|
||||
{isTextDataset && (
|
||||
{selectedDatasetId && isTextDataset && (
|
||||
<Form.Item
|
||||
label="段落切片"
|
||||
name="segmentationEnabled"
|
||||
|
||||
Reference in New Issue
Block a user