微信小程序——thirdScriptError n.s is not a function


前言

粗心造成的~

步骤

错误详情

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

解决

  1. 找到对应的文件
  2. 查看对应的方法
  3. 修改方法名的时候,请求httphttps的时候把http改成了s,本就无s这个函数,所以报错是一定的了.


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM