fix: bugs
This commit is contained in:
parent
c990ad7215
commit
69e8537d9c
@ -14,7 +14,7 @@ const prefix: any = { _value: '/workspace/' }
|
|||||||
Object.defineProperty(prefix, 'value', {
|
Object.defineProperty(prefix, 'value', {
|
||||||
get: function () {
|
get: function () {
|
||||||
const { user } = useStore()
|
const { user } = useStore()
|
||||||
return this._value + user.getWorkspaceId() + '/model'
|
return this._value + user.getWorkspaceId()
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@ -160,6 +160,7 @@ function submit() {
|
|||||||
documents.push({
|
documents.push({
|
||||||
name: item.name,
|
name: item.name,
|
||||||
paragraphs: item.content,
|
paragraphs: item.content,
|
||||||
|
source_file_id: item.source_file_id,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@ -231,7 +231,7 @@ function splitDocument() {
|
|||||||
const initSplitPatternList = () => {
|
const initSplitPatternList = () => {
|
||||||
loadSharedApi({ type: 'document', systemType: apiType.value })
|
loadSharedApi({ type: 'document', systemType: apiType.value })
|
||||||
.listSplitPattern(id, patternLoading)
|
.listSplitPattern(id, patternLoading)
|
||||||
.then((ok) => {
|
.then((ok: any) => {
|
||||||
splitPatternList.value = ok.data
|
splitPatternList.value = ok.data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user