zoukankan      html  css  js  c++  java
  • 微信小程序——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这个函数,所以报错是一定的了.
  • 相关阅读:
    Codeforces 777B Game of Credit Cards
    Codeforces 777A Shell Game
    零基础学贪心算法
    1283 最小周长
    容斥原理
    Humble Numbers(丑数) 超详解!
    1284 2 3 5 7的倍数
    1305 Pairwise Sum and Divide
    1347 旋转字符串
    HDU 2549 壮志难酬
  • 原文地址:https://www.cnblogs.com/wangyang0210/p/12464969.html
Copyright © 2011-2022 走看看