客户端点击按钮,调起分享没有反应
发布于 5 年前 作者 dinglei 12073 次浏览 来自 问答

-部分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

2 回复

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

报错的微信版本,基本是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”}

回到顶部