Commit f06ddbda by 蒋勇

null judge

parent a0e3f1d3
......@@ -101,10 +101,13 @@
arrstrs.forEach((item)=>{
if(item && item!=""){
let it=JSON.parse(item);
if(it){
let trackItem={"trackDate":`${it.dateStr} ${it.yw}`,"trackContent":`${it.timeStr} ${it.content}`};
this.trackRecords.push(trackItem);
}
}
})
}
},
......
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