chores: 调整上传文件完成后的延迟
This commit is contained in:
parent
ed0228e179
commit
bee2ed1625
|
@ -50,7 +50,7 @@ const {
|
|||
clearCompleted()
|
||||
uploadDialogVisible.value = false
|
||||
uploadFileList.value = []
|
||||
}, 2000)
|
||||
}, 200)
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -358,15 +358,8 @@ onActivated(() => {
|
|||
})
|
||||
|
||||
function handleElUploadChange(_file: UploadUserFile, newFileList: UploadUserFile[]) {
|
||||
// When files are added/removed via el-upload's UI (drag & drop, or its own "click to select")
|
||||
// its internal list `newFileList` will be up-to-date.
|
||||
// We directly assign it to keep our `uploadFileList` in sync.
|
||||
uploadFileList.value = newFileList
|
||||
}
|
||||
// on-remove is also covered by on-change in el-plus for v-model:file-list
|
||||
// function handleElUploadRemove(_file: UploadUserFile, newFileList: UploadUserFile[]) {
|
||||
// uploadFileList.value = newFileList
|
||||
// }
|
||||
|
||||
function closeUploadDialog() {
|
||||
uploadDialogVisible.value = false
|
||||
|
|
|
@ -1528,6 +1528,7 @@ const userLoading = ref(false)
|
|||
<el-form-item>
|
||||
<div style="color: #909399; font-size: 12px; line-height: 1.5;">
|
||||
此配置将作为知识库解析时默认的 Embedding 模型。
|
||||
如需修改,可到前台登陆初始用户添加新的 Embedding 模型进行切换。
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
|
Loading…
Reference in New Issue