Compare commits

..

No commits in common. "c32bd6eef4719d92bf1976ecfcabb8fd2aaac53b" and "5cfd5747a1ac07740d3247414558e021436477fa" have entirely different histories.

1 changed files with 0 additions and 2 deletions

View File

@ -91,8 +91,6 @@ const subjectList = ref([])
// //
const getSubject = () => { const getSubject = () => {
//
if(!userInfo.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)