Commit b9a6b232 by yuananting

fix:解决新建考试白屏问题

parent 60176430
......@@ -85,9 +85,8 @@ function AddExam(props: any) {
source: 0,
}
Service.Hades('public/hades/queryExamPageList', param).then(res=> {
console.log(res)
const { result = {} } = res;
setExamList(result.records)
setExamList(result.records || [])
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment