diff --git a/src/renderer/src/views/teachingDesign/container/center.vue b/src/renderer/src/views/teachingDesign/container/center.vue index f76370e..f27faea 100644 --- a/src/renderer/src/views/teachingDesign/container/center.vue +++ b/src/renderer/src/views/teachingDesign/container/center.vue @@ -86,7 +86,7 @@ emitter.on('onShow', (data) => { let outline = JSON.parse(data.outline) markeDownAnswer.value = outline.markdown - emitter.emit('onResult',outline.json) + emitter.emit('onResult',data) Object.assign(curItem, data) }) @@ -138,7 +138,6 @@ const createAi = async () => { markeDownAnswer.value = data.answer const res = await createOutlineV2({ query: data.answer }) - curItem.outline = JSON.stringify({ json: res.outline, markdown: data.answer diff --git a/src/renderer/src/views/teachingDesign/container/right.vue b/src/renderer/src/views/teachingDesign/container/right.vue index 0a00bbb..93b41fd 100644 --- a/src/renderer/src/views/teachingDesign/container/right.vue +++ b/src/renderer/src/views/teachingDesign/container/right.vue @@ -1,10 +1,10 @@