fix: 修复描述问题

This commit is contained in:
wangdan-fit2cloud 2024-07-18 16:57:21 +08:00
parent 2619ca6d39
commit 04023cec2b
2 changed files with 1 additions and 12 deletions

View File

@ -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

View File

@ -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
}
},