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)