mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-22 17:26:52 +08:00
feat(knowledge): 添加知识拆分预览功能
- 新增 SplitPreview 组件用于展示拆分预览结果 - 在 split 配置中集成预览功能,实现拆分和预览一体化 - 优化知识创建流程,支持预览确认后继续上传 -重构 API 调用,增加拆分结果预览接口
This commit is contained in:
@@ -117,6 +117,13 @@ export default {
|
||||
},
|
||||
|
||||
uploadFiled() {
|
||||
if (!this.filed) {
|
||||
this.$message({
|
||||
type: 'error',
|
||||
message: '请上传文件'
|
||||
})
|
||||
return
|
||||
}
|
||||
let formData = new FormData()
|
||||
formData.append('file', this.filed)
|
||||
formData.append('datasetId', this.form.datasetId)
|
||||
|
||||
Reference in New Issue
Block a user