From 2e2ebbd47fbf7280ca0cd48623e8fb39d25ea1d4 Mon Sep 17 00:00:00 2001 From: lyc Date: Wed, 18 Dec 2024 11:17:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E6=96=B0=E5=A2=9E=20?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/api/ai/index.js | 3 +- .../container/adjust-dialog.vue | 24 +- .../template-study/container/right.vue | 149 +++++++++-- .../views/teachingDesign/container/right.vue | 250 ++++++++++++------ 4 files changed, 300 insertions(+), 126 deletions(-) diff --git a/src/renderer/src/api/ai/index.js b/src/renderer/src/api/ai/index.js index ef5cfd6..5e491d3 100644 --- a/src/renderer/src/api/ai/index.js +++ b/src/renderer/src/api/ai/index.js @@ -10,11 +10,10 @@ export const createChart = ({ headers, data }) => { }) } // 大模型对话 -export const sendChart = ({ headers, data }) => { +export const sendChart = (data) => { return request({ url: '/qf/sendTalk', method: 'post', - headers, data, }) } \ No newline at end of file diff --git a/src/renderer/src/components/template-study/container/adjust-dialog.vue b/src/renderer/src/components/template-study/container/adjust-dialog.vue index 65316c3..a5fa027 100644 --- a/src/renderer/src/components/template-study/container/adjust-dialog.vue +++ b/src/renderer/src/components/template-study/container/adjust-dialog.vue @@ -30,7 +30,7 @@
- + {{ curFile.fileName }} @@ -54,7 +54,7 @@