|
|
|
@ -22,6 +22,7 @@ import {ElMessage,UploadFile,UploadFiles,ElPagination} from "element-plus"; |
|
|
|
import aiagent from './agent.vue'; |
|
|
|
import router from "@/router"; |
|
|
|
|
|
|
|
const defaultAiAgent=import.meta.env.VITE_DEFAULT_AI_AGENT |
|
|
|
const matterList = ref<matterInfo[]>([]) |
|
|
|
const newdir=ref("") //创建新目录时的目录名 |
|
|
|
const currentHoverRow=ref("") //table 行的按钮控制 |
|
|
|
@ -434,7 +435,7 @@ async function onlyOfficeEdit(row:matterInfo){ |
|
|
|
onMounted(() => { |
|
|
|
currentNode.value.uuid="root" |
|
|
|
//设置默认的AI智能体 |
|
|
|
currentAgent.value={name:"通用AI",model:false,uuid:"5bd9b0e9-d3f4-4089-670a-880009e925a8"} |
|
|
|
currentAgent.value={name:"通用AI",model:false,uuid:defaultAiAgent} |
|
|
|
|
|
|
|
onLoadMatterList() |
|
|
|
}); |
|
|
|
|