请问解决了吗
微信小程序uploadFile合法域名设置在开发的时候没有登录微信公众号后台小程序中 •设置→开发设置→服务器设置 去设置uploadFile合法域名,只使用局域网地址能上传图片。 现在想正式发布,设置uploadFile合法域名时提示不合法,内容为:https://www.xxx.cn/api/File/UpLoadFiles于是我修改成和request合法域名一样https://www.xxx.cn,然后再代码里wx.uploadFile方法里url: https://www.xxx.cn/api/File/UpLoadFiles图片无法上传,也没显示什么错误信息。是我uploadFile合法域名配置不对,还是哪里不对。
2021-04-13请问现在解决了吗
真机调试错误,这是什么情况?怎么定位问题?VM21:2 (in promise) MiniProgramError Cannot read property 'createView' of undefined TypeError: Cannot read property 'createView' of undefined at n.value (eval at n.call.document (http://127.0.0.1:51844/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:1064980) at n.value (eval at n.call.document (http://127.0.0.1:51844/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:757375) at t (eval at n.call.document (http://127.0.0.1:51844/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:757542) at n.value (eval at n.call.document (http://127.0.0.1:51844/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:757631) at eval (eval at n.call.document (http://127.0.0.1:51844/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:1300784) at new Promise (<anonymous>) at pu (eval at n.call.document (http://127.0.0.1:51844/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:1300746) at eval (eval at n.call.document (http://127.0.0.1:51844/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:1302216) at Array.forEach (<anonymous>) at r (eval at n.call.document (http://127.0.0.1:51844/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:1302194)
2021-03-11可以了可以了,能更新样式了
MapContext.addMarkers更新聚合簇样式无效?用MapContext.addMarkers(Object object)更新聚合簇的样式,但是仍然显示的是默认聚合样式 [图片]
2021-03-08