feat: 切换项目把右侧切换到sketch视图

This commit is contained in:
2026-03-17 15:41:44 +08:00
parent 0d34b515d6
commit dd27ffd229

View File

@@ -87,7 +87,8 @@
) )
} }
const handleGetProjectInfoAndHistory = () => { const handleGetProjectInfoAndHistory = () => {
handleOpenSketch()
getProjectInfo({ id: route.params.id }).then((res) => { getProjectInfo({ id: route.params.id }).then((res) => {
if (res) agentRef.value.setChatInfo(res) if (res) agentRef.value.setChatInfo(res)
let data = res?.project || res let data = res?.project || res