feat: 数据集
This commit is contained in:
parent
42acc60d87
commit
5f728de55c
@ -75,7 +75,7 @@ const getDatesetDetail: (dataset_id: string) => Promise<Result<any>> = (dataset_
|
|||||||
/**
|
/**
|
||||||
* 修改数据集信息
|
* 修改数据集信息
|
||||||
* @param 参数
|
* @param 参数
|
||||||
* dataset_id, document_id,
|
* dataset_id
|
||||||
* {
|
* {
|
||||||
"name": "string",
|
"name": "string",
|
||||||
"desc": true
|
"desc": true
|
||||||
|
|||||||
@ -29,7 +29,7 @@ async function submit() {
|
|||||||
if (await BaseFormRef.value?.validate()) {
|
if (await BaseFormRef.value?.validate()) {
|
||||||
loading.value = true
|
loading.value = true
|
||||||
datasetApi
|
datasetApi
|
||||||
.postDocument(datasetId, BaseFormRef.value.form)
|
.putDateset(datasetId, BaseFormRef.value.form)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
MsgSuccess('保存成功')
|
MsgSuccess('保存成功')
|
||||||
loading.value = false
|
loading.value = false
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="template-manage__right p-24">
|
<div class="template-manage__right p-24">
|
||||||
<h4>全部模型</h4>
|
<h4>全部模型</h4>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</LayoutContainer>
|
</LayoutContainer>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user