Commit 94e6634b by 陈超

T

parent 95dd10c7
...@@ -359,7 +359,7 @@ ...@@ -359,7 +359,7 @@
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) console.log(res)
that.options[1].items = array.map( r => { that.options[1].items = array.map( r => {
return { return {
......
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