Commit 0f610e04 by 陈超

A

parent ab1f8da6
......@@ -260,7 +260,7 @@
dataType: "json",
success: function(res) {
if(res.status == 1) {
let array = res.data.data
let array = res.data.data.length > 0 ? res.data.data : []
that.zhenti = [].concat(array.map( r => {
return {
id: r.exams_paper_id,
......
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