收藏
回答

客户端点击按钮,调起分享没有反应

框架类型 问题类型 操作系统 操作系统版本 手机型号 微信版本
小程序 Bug iOS ios iPhone 8Plus 6.7.3

-部分iphone手机, 页面中点击按钮,调起分享当前页面,多次没有反应。


- 可以正常分享


- 点击“分享”,重复点击无效。


- <form bindsubmit='formid' report-submit='true' >

    <button class='buttonPrimary' open-type='share' form-type='submit' >分享</button>

</form>


自己调试没有复现,线上发现客户端有如下报错信息,会导致多次点击“分享”没有反应

undefined is not an object (evaluating 't[e]');onShareAppMessage\n

最后一次编辑于  2018-11-09
回答关注问题邀请回答
收藏

2 个回答

  • 小程序技术专员-SgLy
    小程序技术专员-SgLy
    2018-11-09

    你好,能贴一下完整的报错信息吗?看起来像是你的 onShareAppMessage 里面有代码出错了

    2018-11-09
    有用
    回复 4
    • 心心情
      心心情
      2018-11-09

      "jsEnginScriptError\nundefined is not an object (evaluating 't[e]');onShareAppMessage\nvt@https://lib/WAService.js:1:214572\nPt@https://lib/WAService.js:1:626633\nhttps://lib/WAService.js:1:592926\nhttps://lib/WAService.js:1:627503\nn@https://lib/WAService.js:1:171394\nS@https://lib/WAService.js:1:1729\nglobal code"

      2018-11-09
      回复
    • 小程序技术专员-SgLy
      小程序技术专员-SgLy
      2018-11-09回复心心情

      这一个是从哪一个基础库版本(SDKVersion)报出来的?我们这边查一下

      2018-11-09
      回复
    • 心心情
      心心情
      2018-11-09

      2.3.0以上可能都有。这个是2.4.0的一个客户端的报错。

      {"brand": "iPhone", "model": "iPhone 8 Plus (GSM+CDMA)<iPhone10,2>", "errMsg": "getSystemInfo:ok", "system": "iOS 11.2.2", "version": "6.7.3", "language": "zh_CN", "platform": "ios", "SDKVersion": "2.4.0", "pixelRatio": 3, "screenWidth": 414, "windowWidth": 414, "batteryLevel": 100, "screenHeight": 736, "windowHeight": 624, "fontSizeSetting": 16, "statusBarHeight": 20, "deviceOrientation": "portrait"}

      2018-11-09
      回复
    • 心心情
      心心情
      2018-11-19回复小程序技术专员-SgLy

      您好,请问问题有进展吗?

      2018-11-19
      回复
  • 心心情
    心心情
    2018-11-09

    报错的微信版本,基本是6.7.3(目前只发现一个客户端微信版本是6.7.2),以下整理了一部分客户端信息,操作系统全部是ios。

    1、

    {"brand": "iPhone", "model": "iPhone 6s Plus<iPhone8,2>", "errMsg": "getSystemInfo:ok", "system": "iOS 12.0", "version": "6.7.2", "language": "zh_CN", "platform": "ios", "SDKVersion": "2.3.0", "pixelRatio": 3, "screenWidth": 414, "windowWidth": 414, "batteryLevel": 100, "screenHeight": 736, "windowHeight": 624, "fontSizeSetting": 16, "statusBarHeight": 20}

    2、

    {"brand": "iPhone", "model": "iPhone X (GSM+CDMA)<iPhone10,3>", "errMsg": "getSystemInfo:ok", "system": "iOS 11.4.1", "version": "6.7.3", "language": "zh_CN", "platform": "ios", "SDKVersion": "2.4.0", "pixelRatio": 3, "screenWidth": 375, "windowWidth": 375, "batteryLevel": 100, "screenHeight": 812, "windowHeight": 642, "fontSizeSetting": 16, "statusBarHeight": 44, "deviceOrientation": "portrait"}

    3、

    {"brand": "iPhone", "model": "iPhone 6<iPhone7,2>", "errMsg": "getSystemInfo:ok", "system": "iOS 11.4.1", "version": "6.7.3", "language": "zh_CN", "platform": "ios", "SDKVersion": "2.4.0", "pixelRatio": 2, "screenWidth": 375, "windowWidth": 375, "batteryLevel": 100, "screenHeight": 667, "windowHeight": 555, "fontSizeSetting": 16, "statusBarHeight": 20, "deviceOrientation": "portrait"}

    4、

    {"brand": "iPhone", "model": "iPhone 7<iPhone9,1>", "errMsg": "getSystemInfo:ok", "system": "iOS 11.4", "version": "6.7.3", "language": "zh_CN", "platform": "ios", "SDKVersion": "2.3.2", "pixelRatio": 2, "screenWidth": 375, "windowWidth": 375, "batteryLevel": 100, "screenHeight": 667, "windowHeight": 555, "fontSizeSetting": 16, "statusBarHeight": 20, "deviceOrientation": "portrait"}


    2018-11-09
    有用
    回复
登录 后发表内容