微信小程序调试过程中,请求失败
这种请求失败的情况下,需要设置不校验合法域名。
Error: MiniProgramError
{“errMsg”:“request:fail url not in domain list”}
at Object.errorReport (WAServiceMainContext.js?t=wechat&s=1728355620917&v=3.5.6:1)
at Function.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1728355620917&v=3.5.6:1)
at Object.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1728355620917&v=3.5.6:1)
at i (WASubContext.js?t=wechat&s=1728355620917&v=3.5.6:1)
at Object.cb (WASubContext.js?t=wechat&s=1728355620917&v=3.5.6:1)
at q._privEmit (WASubContext.js?t=wechat&s=1728355620917&v=3.5.6:1)
at q.emit (WASubContext.js?t=wechat&s=1728355620917&v=3.5.6:1)
at WASubContext.js?t=wechat&s=1728355620917&v=3.5.6:1
at n (WASubContext.js?t=wechat&s=1728355620917&v=3.5.6:1)
at $e (WASubContext.js?t=wechat&s=1728355620917&v=3.5.6:1)(env: macOS,mp,1.06.2407120; lib: 3.5.6)
这种请求失败的情况下,需要设置不校验合法域名
把这里钩上
更多推荐
所有评论(0)