mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: 数据集
This commit is contained in:
parent
42acc60d87
commit
5f728de55c
|
|
@ -75,7 +75,7 @@ const getDatesetDetail: (dataset_id: string) => Promise<Result<any>> = (dataset_
|
|||
/**
|
||||
* 修改数据集信息
|
||||
* @param 参数
|
||||
* dataset_id, document_id,
|
||||
* dataset_id
|
||||
* {
|
||||
"name": "string",
|
||||
"desc": true
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
</div>
|
||||
<div class="template-manage__right p-24">
|
||||
<h4>全部模型</h4>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</LayoutContainer>
|
||||
|
|
|
|||
Loading…
Reference in New Issue