mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 修复描述问题
This commit is contained in:
parent
2619ca6d39
commit
04023cec2b
|
|
@ -170,18 +170,6 @@ async function submit() {
|
|||
}
|
||||
}
|
||||
|
||||
function reEmbeddingDataset(row: any) {
|
||||
datasetApi.putReEmbeddingDataset(row.id).then(() => {
|
||||
MsgSuccess('提交成功')
|
||||
})
|
||||
}
|
||||
|
||||
function saveDataset(data: any) {
|
||||
datasetApi.putDataset(id, data, loading).then((res) => {
|
||||
MsgSuccess('保存成功')
|
||||
})
|
||||
}
|
||||
|
||||
function getDetail() {
|
||||
dataset.asyncGetDatasetDetail(id, loading).then((res: any) => {
|
||||
detail.value = res.data
|
||||
|
|
|
|||
|
|
@ -123,6 +123,7 @@ watch(
|
|||
(value) => {
|
||||
if (value && JSON.stringify(value) !== '{}') {
|
||||
form.value.name = value.name
|
||||
form.value.desc = value.desc
|
||||
form.value.embedding_mode_id = value.embedding_mode_id
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue