From af20ff49318a2b1462c8834bf60abc437061439c Mon Sep 17 00:00:00 2001 From: lyc Date: Thu, 25 Jul 2024 10:52:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=99=E5=AD=A6=E6=A8=A1=E5=9E=8B=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/utils/linkConfig.js | 9 ++++++++- src/renderer/src/views/prepare/index.vue | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/utils/linkConfig.js b/src/renderer/src/utils/linkConfig.js index 54e03ea..09c7aa1 100644 --- a/src/renderer/src/utils/linkConfig.js +++ b/src/renderer/src/utils/linkConfig.js @@ -33,8 +33,15 @@ const standard = { fullPath: `${baseConfig.url}/teaching/chatwithstandard` } +// 教学大模型 +const aiModel = { + data: { ...baseConfig}, + fullPath: `${baseConfig.url}/platofai` +} + export default { homeWork, gk, - standard + standard, + aiModel } \ No newline at end of file diff --git a/src/renderer/src/views/prepare/index.vue b/src/renderer/src/views/prepare/index.vue index 7d1954f..9ae9fef 100644 --- a/src/renderer/src/views/prepare/index.vue +++ b/src/renderer/src/views/prepare/index.vue @@ -10,7 +10,7 @@ 课标研读 电子课本 高考研读 - 教学大模型 + 教学大模型 上课 @@ -73,8 +73,8 @@ import { toTimeText } from '@/utils/date' import { ElMessage } from 'element-plus' import { parseCataByNode, creatPPT, asyncLocalFile } from '@/utils/talkFile' import FileOperBatch from '@/views/prepare/container/file-oper-batch.vue' - import outLink from '@/utils/linkConfig' + const { ipcRenderer } = window.electron || {} export default {