收藏
回答

发布之后,除了显示tabbar,页面全部为空白?

用的是【有赞】vant-weapp 的组件

小程序【宁理青年】发布之后是这样的。

手机型号 iPhone XR ,华为P30,iPhone 7 体验版都能打开


__________________________________________________________________

发布之后,全部页面都是空白。



___________________________________________________________________________

服务器合法请求,信息已经配置为 https:www.gaoxiaozuzhi.com

真机调试可以请求到数据的


___________________________________________________________________________

在微信小程序后台看到的报错。

Error line:2,column:2164642,Error: module "@babel/runtime/helpers/interopRequireDefault.js" is not defined Stack:require@https://lib/WASubContext.js:2:2164642 https://lib/WASubContext.js:2:2164032 https://usr/app-service.js:6193:29 require@https://lib/WASubContext.js:2:2164867 https://lib/WASubContext.js:2:2164032 https://usr/app-service.js:6298:356 require@https://lib/WASubContext.js:2:2164867 global code@https://usr/app-service.js:6299:17 value@https://lib/WAServiceMainContext.js:2:151185 https://lib/WAServiceMainContext.js:2:153898 https://lib/WAServiceMainContext.js:2:153865 g@https://lib/WAServiceMainContext.js:2:81721 y@https://lib/WAServiceMainContext.js:2:81995 a@https://lib/WAServiceMainContext.js:2:152852 https://lib/WAServiceMainContext.js:2:154439 https://lib/WAServiceMainContext.js:2:143968 https://lib/WAServiceMainContext.js:2:255575 https://lib/WAServiceMainContext.js:2:254543 https://lib/WAServiceMainContext.js:2:254507 https://lib/WAServiceMainContext.js:2:255575 _@https://lib/WAServiceMainContext.js:2:78184


头都秃了~~ T_T

最后一次编辑于  2020-10-16
回答关注问题邀请回答
收藏

4 个回答

  • 睡前原谅一切
    睡前原谅一切
    2020-10-16

    把上传时进行代码保护去掉。重新上传体验版 预览下。如果正常 那就可以提交审核发布了。

    现在你要做的是 手机先打开开发版本,然后打开调试模式,然后打开线上版本,可以看到线上版本也有vconsole。打开看下报啥错,

    2020-10-16
    有用 1
    回复
  • 666
    666
    2021-02-24

    楼主这个问题解决了吗,我也遇到和你一样的问题

    2021-02-24
    有用
    回复
  • 林一
    林一
    2020-10-16

    Error: module "@babel/runtime/helpers/interopRequireDefault.js" is not defined 

    项目里没有用到这个

    2020-10-16
    有用
    回复
  • Ohh
    Ohh
    2020-10-16

    页面的内容及数据是不是通过接口返回的数据来显示的 看看是不是服务器域名没加上

    2020-10-16
    有用
    回复 1
    • 林一
      林一
      2020-10-16
      里面的数据,轮播图用的是 https:图床的,剩下的都是静态页面,图标是vant里面提供的图标
      2020-10-16
      回复
登录 后发表内容
问题标签