fix(frontend): 展示三个独立发布数据集
This commit is contained in:
@@ -31,7 +31,9 @@ for (const name of [
|
||||
assert.match(datasetLine, /source: 'task'/, `${name} 必须标记为数据任务来源`)
|
||||
}
|
||||
|
||||
assert.match(viewSource, /const activeTab = ref<DatasetSource>\('upload'\)/)
|
||||
assert.match(viewSource, /route\.query\.tab === 'task' \? 'task' : 'upload'/)
|
||||
assert.doesNotMatch(viewSource, /hasSplitCounts|splitLabels/)
|
||||
assert.match(viewSource, /DATASET_TYPE_MAP\[String\(row\.type\)\.toLowerCase\(\)\]/)
|
||||
assert.match(
|
||||
viewSource,
|
||||
/if \(activeTab\.value === 'task'\) \{\s*return dataList\.value\.filter\(\(item\) => item\.source === 'task'\)\s*\}/,
|
||||
|
||||
Reference in New Issue
Block a user