Skip to content

Commit 69e8537

Browse files
fix: bugs
1 parent c990ad7 commit 69e8537

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

ui/src/api/model/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const prefix: any = { _value: '/workspace/' }
1414
Object.defineProperty(prefix, 'value', {
1515
get: function () {
1616
const { user } = useStore()
17-
return this._value + user.getWorkspaceId() + '/model'
17+
return this._value + user.getWorkspaceId()
1818
},
1919
})
2020

ui/src/views/document/UploadDocument.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ function submit() {
160160
documents.push({
161161
name: item.name,
162162
paragraphs: item.content,
163+
source_file_id: item.source_file_id,
163164
})
164165
})
165166

ui/src/views/document/upload/SetRules.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ function splitDocument() {
231231
const initSplitPatternList = () => {
232232
loadSharedApi({ type: 'document', systemType: apiType.value })
233233
.listSplitPattern(id, patternLoading)
234-
.then((ok) => {
234+
.then((ok: any) => {
235235
splitPatternList.value = ok.data
236236
})
237237
}

0 commit comments

Comments
 (0)