"https://api-hmugo-web.itheima.net/api/public/v1/home/swiperdata ".then is not a function
TypeError: "https://api-hmugo-web.itheima.net/api/public/v1/home/swiperdata ".then is not a function
at et.onLoad (http://127.0.0.1:62282/appservice/pages/index/index.js:22:79)
at et.<anonymous> (http://127.0.0.1:62282/appservice/__dev__/WAService.js:2:2264727)
at et.p.__callPageLifeTime__ (http://127.0.0.1:62282/appservice/__dev__/WAService.js:2:2264472)
at xt (http://127.0.0.1:62282/appservice/__dev__/WAService.js:2:2280188)
at http://127.0.0.1:62282/appservice/__dev__/WAService.js:2:2283766
at Mt (http://127.0.0.1:62282/appservice/__dev__/WAService.js:2:2284299)
at Function.<anonymous> (http://127.0.0.1:62282/appservice/__dev__/WAService.js:2:2293811)
at i.<anonymous> (http://127.0.0.1:62282/appservice/__dev__/WAService.js:2:2255416)
at i.emit (http://127.0.0.1:62282/appservice/__dev__/WAService.js:2:685376)
at Object.emit (http://127.0.0.1:62282/appservice/__dev__/WAService.js:2:644102)
我这边配置了HTTPS证书,加入了白名单也还是报这个错误,但是我自己找到解决办法了。参考链接:https://blog.csdn.net/qq_18893835/article/details/114298235
麻烦提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
有人吗0.。。。00