WAServiceMainContext.js:2 ReferenceError: result is not defined
at success (index.js? [sm]:280)
at Function.forEach.u.<computed> (WASubContext.js?t=wechat&s=1710205354985&v=2.16.1:2)
at :22955/appservice/<api request success callback function>
at WASubContext.js?t=wechat&s=1710205354985&v=2.16.1:2
at p (WASubContext.js?t=wechat&s=1710205354985&v=2.16.1:2)
at Function.<anonymous> (WASubContext.js?t=wechat&s=1710205354985&v=2.16.1:2)
at :22955/appservice/<NetworkRequest46success callback function>
at WASubContext.js?t=wechat&s=1710205354985&v=2.16.1:2
at WASubContext.js?t=wechat&s=1710205354985&v=2.16.1:2
at Set.forEach (<anonymous>)(env: macOS,mp,1.06.2306020; lib: 2.16.1)
报错:尝试访问一个名为’result’的变量,但该变量在当前作用域并未定义。
后面发现是把res写成了result