From baa1fa7483b0c8dc1e6af742b3da75343bfaf698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=A8?= <666> Date: Wed, 20 Nov 2024 15:57:50 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E8=8E=B7=E5=8F=96=E6=89=80?= =?UTF-8?q?=E6=9C=89=E7=9A=84=E6=95=99=E6=9D=90=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/experiment/components/experimentBook.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderer/src/views/experiment/components/experimentBook.vue b/src/renderer/src/views/experiment/components/experimentBook.vue index a5b18a9..2cfbd96 100644 --- a/src/renderer/src/views/experiment/components/experimentBook.vue +++ b/src/renderer/src/views/experiment/components/experimentBook.vue @@ -45,6 +45,7 @@ import { onMounted, ref, nextTick, toRaw, reactive } from 'vue'; import { cloneDeep } from 'lodash' import { listEvaluation } from '@/api/subject' + import { sessionStore } from '@/utils/store' const BaseUrl = import.meta.env.VITE_APP_BUILD_BASE_PATH // 定义要发送的emit事件 @@ -195,6 +196,7 @@ //获取学科列表 const { rows } = await listEvaluation(subjectParams) // 获取所有的教材 + subjectList.value = sessionStore.get('subject.bookList') const res = await listEvaluation(unitParams) unitList.value = [...res.rows] // 当前教材