开发工具基础很少出现这个问题
发布后经常出现这个问题,不知道到底怎么回事,后台接口没有问题。
有时候页面也正常。
MiniProgramError
Can't find variable: res
ReferenceError: Can't find variable: res
at fail (appservice.app.js:3121:2791)
at (WASubContext.js:1:139883)
at i (WASubContext.js:1:140156)
at (WAServiceMainContext.js:1:922989)
at <api request fail callback function>
at $c (WAServiceMainContext.js:1:652132)
at (WAServiceMainContext.js:1:827738)
at <NetworkRequest360fail callback function>
at vf (WAServiceMainContext.js:1:748168)
at forEach (native code)
at emit (WAServiceMainContext.js:1:748809)
at c (WAServiceMainContext.js:1:828779)
at XS (WAServiceMainContext.js:1:830126)
at (WAServiceMainContext.js:1:830742)
at (WAServiceMainContext.js:1:626827)
at (WAServiceMainContext.js:1:617343)
at emit (WAServiceMainContext.js:1:118955)
at emit (native code)
at emit (WAServiceMainContext.js:1:118574)
at subscribeHandler (WAServiceMainContext.js:1:122098)
你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)