收藏
回答

SystemError(webviewScriptError)

TypeError: __wxAppCode__['pages/cart/cart.wxss'] is not a function. (In '__wxAppCode__['pages/cart/cart.wxss']()', '__wxAppCode__['pages/cart/cart.wxss']' is undefined)\n\t/wx3f7bfad67625b9db/0/page-frame.html:1:169\nglobal code@https://servicewechat.com/wx3f7bfad67625b9db/0/page-frame.html:1:169

ios页面白屏并提示SystemError(webviewScriptError)

安卓正常

最后一次编辑于  2023-04-21
回答关注问题邀请回答
收藏

3 个回答

  • 微盟
    微盟
    2023-04-21

    提供代码片段或者检查 pages/cart/cart.wxss及pages/cart/cart目录下相关文件

    2023-04-21
    有用 1
    回复
  • 马洪伟
    马洪伟
    2023-11-14

    同样的错误,从微信支付中看订单详情,通过下面的跳转小程序链接,打开小程序就会报这个错误。楼主有解法了吗?


    SystemError (webviewScriptError)

    __wxAppCode__['subPackages/Main/MainPage/MainPage.wxss'] is not a function. (In '__wxAppCode__['subPackages/Main/MainPage/MainPage.wxss']()', '__wxAppCode__['subPackages/Main/MainPage/MainPage.wxss']' is undefined)

    TypeError: __wxAppCode__['subPackages/Main/MainPage/MainPage.wxss'] is not a function. (In '__wxAppCode__['subPackages/Main/MainPage/MainPage.wxss']()', '__wxAppCode__['subPackages/Main/MainPage/MainPage.wxss']' is undefined)

    global code@https://servicewechat.com/wxab22362defffea43/11/page-frame.html:1:188

    2023-11-14
    有用
    回复 1
    • 马洪伟
      马洪伟
      2023-11-14
      我这边尝试把subPackages/Main/MainPage/MainPage.wxml中引用的wxs去掉,可以正常打开了。 如果有类似错误的同学,可以查一下代码中是否有wxs引用
      2023-11-14
      回复
  • hero
    hero
    2023-06-30

    同样的问题

    2023-06-30
    有用
    回复
登录 后发表内容