mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: bugs
This commit is contained in:
parent
c990ad7215
commit
69e8537d9c
|
|
@ -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()
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -160,6 +160,7 @@ function submit() {
|
|||
documents.push({
|
||||
name: item.name,
|
||||
paragraphs: item.content,
|
||||
source_file_id: item.source_file_id,
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue