Commit 95dd10c7 by 陈超

T

parent b53d4bc6
...@@ -359,7 +359,8 @@ ...@@ -359,7 +359,8 @@
url: "{:U('exams/Index/paper')}" + "&api=1&search=" + that.keyword, url: "{:U('exams/Index/paper')}" + "&api=1&search=" + that.keyword,
dataType: "json", dataType: "json",
success: function(res) { success: function(res) {
let array = res.data.length > 0 ? res.data : [] let array = res.data.length > 0 ? res.data : [],
console.log(res)
that.options[1].items = array.map( r => { that.options[1].items = array.map( r => {
return { return {
id: r.exams_paper_id, 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