wx.downloadFile在真机测试也报同样的错误
在iOS设备中调用 wx.uploadFile 调用报错?在我的iOS设备上调用wx.uploadFile接口报以下错误: "MiniProgramError\nr.replace is not a function. (In 'r.replace(/\;([^\s\;]*?(?=\=))/gi,",$1")', 'r.replace' is undefined)\nTypeError: r.replace is not a function. (In 'r.replace(/\;([^\s\;]*?(?=\=))/gi,",$1")', 'r.replace' is undefined)\nat replace (miniprogram_npm/weapp-cookie/index.js:2414:45)\nat (WAServiceMainContext.js:1:2473449)\nat YX (WAServiceMainContext.js:1:2258626)\nat success (WAServiceMainContext.js:1:2260733)\nat <api uploadFile success callback function>\nat c (WAServiceMainContext.js:1:801289)\nat (WAServiceMainContext.js:1:616788)\nat <NetworkUpload1success callback function>\nat (WAServiceMainContext.js:1:746326)\nat forEach (native code)\nat emit (WAServiceMainContext.js:1:746249)\nat W (WAServiceMainContext.js:1:617843)\nat (WAServiceMainContext.js:1:619289)\nat (WAServiceMainContext.js:1:781469)\nat emit (WAServiceMainContext.js:1:81766)\nat (WAServiceMainContext.js:1:84248)\nat emit (WAServiceMainContext.js:1:81389)\nat subscribeHandler (WAServiceMainContext.js:1:83949)\nglobal code" 设备:iPhone Xs 14.8 [图片][图片]
2022-10-26