feat: 数据集

This commit is contained in:
wangdan-fit2cloud 2023-11-16 15:23:32 +08:00
parent 42acc60d87
commit 5f728de55c
3 changed files with 3 additions and 2 deletions

View File

@ -75,7 +75,7 @@ const getDatesetDetail: (dataset_id: string) => Promise<Result<any>> = (dataset_
/**
*
* @param
* dataset_id, document_id,
* dataset_id
* {
"name": "string",
"desc": true

View File

@ -29,7 +29,7 @@ async function submit() {
if (await BaseFormRef.value?.validate()) {
loading.value = true
datasetApi
.postDocument(datasetId, BaseFormRef.value.form)
.putDateset(datasetId, BaseFormRef.value.form)
.then((res) => {
MsgSuccess('保存成功')
loading.value = false

View File

@ -14,6 +14,7 @@
</div>
<div class="template-manage__right p-24">
<h4>全部模型</h4>
</div>
</div>
</LayoutContainer>