N-blog icon indicating copy to clipboard operation
N-blog copied to clipboard

fs.unlink()需要加入回调参数

Open wyhimself opened this issue 4 years ago • 0 comments

目录: ./route/signup.js 语句: fs.unlink(req.files.avatar.path) 描述: fs.unlink需要一个回调参数 fs.unlink(req.files.avatar.path,err=>{})

wyhimself avatar Jun 16 '21 09:06 wyhimself