diff --git a/src/renderer/src/views/experiment/components/experimentBook.vue b/src/renderer/src/views/experiment/components/experimentBook.vue index 2cfbd96..cf14940 100644 --- a/src/renderer/src/views/experiment/components/experimentBook.vue +++ b/src/renderer/src/views/experiment/components/experimentBook.vue @@ -196,7 +196,8 @@ //获取学科列表 const { rows } = await listEvaluation(subjectParams) // 获取所有的教材 - subjectList.value = sessionStore.get('subject.bookList') + subjectList.value = rows + const res = await listEvaluation(unitParams) unitList.value = [...res.rows] // 当前教材