diff --git a/src/views/home/agent/index.vue b/src/views/home/agent/index.vue index 7abaefc..910a793 100644 --- a/src/views/home/agent/index.vue +++ b/src/views/home/agent/index.vue @@ -31,7 +31,7 @@ const route = useRoute() const projectStore = useProjectStore() - const agentTitle = ref('Retro Sofa Sketch') + const agentTitle = ref('Conversation') const previewType = ref<'sketch' | 'report'>('sketch') const VersionTreeIndexRef = ref() const agentRef = ref() @@ -66,6 +66,9 @@ if (res) agentRef.value.setChatInfo(res) let data = res?.project || res if (data?.latestNodeId) data.nodeId = data.latestNodeId + if (data) { + agentTitle.value = data.name + } projectStore.setProject({ ...data })