fix: bugs

This commit is contained in:
wangdan-fit2cloud 2025-06-25 14:12:47 +08:00
parent c990ad7215
commit 69e8537d9c
3 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@ const prefix: any = { _value: '/workspace/' }
Object.defineProperty(prefix, 'value', {
get: function () {
const { user } = useStore()
return this._value + user.getWorkspaceId() + '/model'
return this._value + user.getWorkspaceId()
},
})

View File

@ -160,6 +160,7 @@ function submit() {
documents.push({
name: item.name,
paragraphs: item.content,
source_file_id: item.source_file_id,
})
})

View File

@ -231,7 +231,7 @@ function splitDocument() {
const initSplitPatternList = () => {
loadSharedApi({ type: 'document', systemType: apiType.value })
.listSplitPattern(id, patternLoading)
.then((ok) => {
.then((ok: any) => {
splitPatternList.value = ok.data
})
}