Commit c0df076b by 冷斌

fix bug

parent c3818022
...@@ -390,12 +390,11 @@ ...@@ -390,12 +390,11 @@
if(res.status == 1) { if(res.status == 1) {
let array = res.data.data.length > 0 ? res.data.data : [] let array = res.data.data.length > 0 ? res.data.data : []
that.myYiZuo = [].concat(array.map( r => { that.myYiZuo = [].concat(array.map( r => {
console.log(r.update_time);
return { return {
id: r.exams_paper_id, id: r.exams_paper_id,
title: r.paper_info.exams_paper_title, title: r.paper_info.exams_paper_title,
price: r.paper_info.price, price: r.paper_info.price,
time: new Date(r.update_time).format('yyyy-mm-dd HH:MM:ss'), time: new Date(r.update_time * 1000).format('yyyy-mm-dd HH:MM:ss'),
score: r.score score: r.score
} }
})) }))
......
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