diff --git a/src/views/doc/space.vue b/src/views/doc/space.vue
index 37f1b58..bda7b1a 100644
--- a/src/views/doc/space.vue
+++ b/src/views/doc/space.vue
@@ -18,6 +18,7 @@ import {
Plus,
Edit,
Setting,
+ Promotion,
} from '@element-plus/icons-vue'
import {ElMessage,UploadFile,UploadFiles,ElPagination} from "element-plus";
import aiagent from './agent.vue';
@@ -446,6 +447,8 @@ function handleAiUpload(info:matterInfo){
doAiTraining(`/agents/${currentAgent.value.uuid}/updates`,{"matter":info.uuid}).then(resp=>{
console.log(resp)
})
+ }else{
+ alert("当前路径没有智能体")
}
}
@@ -602,6 +605,7 @@ function isOwner(){
+ AI