文件下APi wx.downloadFile 传入 filePath 报错
-
当前 Bug 的表现(可附上截图)
-
预期表现
-
复现路径
-
提供一个最简复现 Demo
wx.downloadFile({ url:vue.imgrSrc, filePath:wx.env.USER_DATA_PATH+'/qrcode_unli.jpg', fail:function(e){ console.log("失败") console.log(e) }, success:function(e){}}) |
运行 报 stat:fail parameter error: parameter.path should be String instead of Undefined; 但不影响程序运行
实测 去掉 __filePath 就不会有报错信息 __
__
__
