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 {