wx.createBufferURL真机返回路径无法访问
https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.createBufferURL.html var bb = wx.createBufferURL(data) commonFunction.showLogi('jjj', bb) 模拟器返回的路径是http://127.0.0.1:11546/wxblob/1627612962697-cf1c4da2,而真机返回的是wxblob/1627612962697-cf1c4da2。 模拟器指定image.src = http://127.0.0.1:11546/wxblob/1627612962697-cf1c4da2 , 会执行image.onload()回调,而在真机指定image.src = wxblob/1627612962697-cf1c4da2不会执行image.onload回调。