From 5708850be9dc6563a4910f68f9608fb30a904800 Mon Sep 17 00:00:00 2001 From: lyc Date: Mon, 13 Jan 2025 13:51:16 +0800 Subject: [PATCH] edit --- src/renderer/src/views/teachingDesign/container/center.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/renderer/src/views/teachingDesign/container/center.vue b/src/renderer/src/views/teachingDesign/container/center.vue index b8db88f..b6472fe 100644 --- a/src/renderer/src/views/teachingDesign/container/center.vue +++ b/src/renderer/src/views/teachingDesign/container/center.vue @@ -114,14 +114,17 @@ const createAi = async () => { data = res.data } - markeDownAnswer.value = data.answer + + const res = await createOutlineV2({ query: data.answer }) + markeDownAnswer.value = data.answer let outline = JSON.stringify({ json: res.outline, markdown: data.answer }) + Object.assign(curItem, {...curItem, outline}) emitter.emit('onResult', curItem)