fix:获取所有的教材; #412

Merged
yangws merged 1 commits from yangws into main 2024-11-20 15:58:13 +08:00
1 changed files with 2 additions and 0 deletions

View File

@ -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]
//