Compare commits

..

2 Commits

1 changed files with 1 additions and 1 deletions

View File

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