zhuhao_dev #230

Merged
zhuhao merged 6 commits from zhuhao_dev into main 2024-09-20 09:19:11 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 7303128334 - Show all commits

View File

@ -92,7 +92,7 @@ const subjectList = ref([])
// //
const getSubject = () => { const getSubject = () => {
// //
if(!userInfo.user.subject) return if(!userStore.user.subject) return
listEvaluation({ itemkey: 'subject', pageSize: 500 }).then((res) => { listEvaluation({ itemkey: 'subject', pageSize: 500 }).then((res) => {
const arr = userStore.user.subject.split(',') const arr = userStore.user.subject.split(',')
subjectList.value = res.rows.filter(item => arr.includes(String(item.id))).map(items => items) subjectList.value = res.rows.filter(item => arr.includes(String(item.id))).map(items => items)