Commit 7a0fec3f by 刘海龙

111

parent de898f24
......@@ -437,7 +437,6 @@
url: "{:U('exams/Index/paper')}" + "&api=2&c=" + that.conditionId +"&p=" + this.page,
dataType: "json",
success: function(res) {
console.log(res.data.data)
if(res.status == 1) {
let array = res.data.data.length > 0 ? res.data.data : []
that.download = array.concat(array.map( r => {
......@@ -452,6 +451,8 @@
attach: r.attach
}
}))
console.log(array)
console.log(that.download)
// that.page ++
if(that.condition.length == 0) {
that.condition = [{ id: '', title: '全部', select: true }].concat(res.cate.map( r => {
......
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