Merge branch 'main' into zhuhao_dev

This commit is contained in:
朱浩 2024-09-18 13:56:53 +08:00
commit f90e2548c6
1 changed files with 2 additions and 0 deletions

View File

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