粗心造成的~
步骤
错误详情
VM5880:1 thirdScriptError
n.s is not a function; [Component] Event Handler Error @ pages/auth/main#bound handleProxy
TypeError: n.s is not a function
at Me.getMobile (http://127.0.0.1:58111/appservice/pages/auth/main.js:111:15)
at Me.n [as getMobile] (http://127.0.0.1:58111/appservice/common/vendor.js:149:56)
at Me.getPhoneNumber (http://127.0.0.1:58111/appservice/pages/auth/main.js:77:121)
at Array.n (http://127.0.0.1:58111/appservice/common/vendor.js:149:56)
at Me.$handleProxyWithVue (http://127.0.0.1:58111/appservice/common/vendor.js:2511:44)
at be.handleProxy (http://127.0.0.1:58111/appservice/common/vendor.js:2370:24)
at Object.r.safeCallback (http://127.0.0.1:58111/appservice/__dev__/WAService.js:2:1342048)
at http://127.0.0.1:58111/appservice/__dev__/WAService.js:2:1519647
at r (http://127.0.0.1:58111/appservice/__dev__/WAService.js:2:1469344)
at http://127.0.0.1:58111/appservice/__dev__/WAService.js:2:1469466
解决
- 找到对应的文件
- 查看对应的方法
- 修改方法名的时候,请求
http 改https 的时候把http 改成了s ,本就无s 这个函数,所以报错是一定的了.
|
请发表评论