微信小程序错误提示:readFile:fail parameter error: parameter.filePath should be String instead of Undefined;

问题所在关键点:

base64方法执行没有拿到url,而是代码报错,导致url是个Error。

 

 

 

原文地址:https://www.cnblogs.com/kpengfang/p/11677401.html