Commit a55c9d1d by 蒋勇

d

parent a818de69
...@@ -73,12 +73,12 @@ async readxls(path) { ...@@ -73,12 +73,12 @@ async readxls(path) {
hisdata:rows hisdata:rows
}); });
// //
fs.unlink(localpath,(err)=>{ // fs.unlink(localpath,(err)=>{
(err) => { // (err) => {
if (err) throw err; // if (err) throw err;
console.log('文件已删除'); // console.log('文件已删除');
} // }
}); // });
this.parseXls(); this.parseXls();
} }
} }
......
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