From 3e8f8529fad3fde4bba0a4eea71a1ef60a8621f7 Mon Sep 17 00:00:00 2001 From: lyc Date: Thu, 9 Jan 2025 15:26:54 +0800 Subject: [PATCH] =?UTF-8?q?edit=20=E6=A1=86=E6=9E=B6=E8=AE=BE=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/teachingDesign/container/center.vue | 3 +-- src/renderer/src/views/teachingDesign/container/right.vue | 5 +++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 @@