Compare commits
No commits in common. "d047e85d0369f286a26a785d7076b286ec670da0" and "c32bd6eef4719d92bf1976ecfcabb8fd2aaac53b" have entirely different histories.
d047e85d03
...
c32bd6eef4
|
@ -92,7 +92,7 @@ const subjectList = ref([])
|
||||||
// 获取基础的学科
|
// 获取基础的学科
|
||||||
const getSubject = () => {
|
const getSubject = () => {
|
||||||
//没有学科则不进行下面的步骤
|
//没有学科则不进行下面的步骤
|
||||||
if(!userStore.user.subject) return
|
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)
|
||||||
|
|
Loading…
Reference in New Issue