Brewing
V2EX  ›  微信

微信小程序<web-view> 到 h5 端 JSSDK 报错问题。

  •  1
     
  •   Brewing · Jul 5, 2019 · 3546 views
    This topic created in 2505 days ago, the information mentioned may be changed or developed.

    提问:有大佬知道 从小程序通过 web-view 跳转到 h5 进行语音识别报错的问题吗~~。 我调用 wx.error()这个方法,报错 ReferenceError: wx is not defined h5 是用 vue 编写的。。有引入 jssdk ====> import wx from 'weixin-js-sdk' 项目在 h5 端是可以正常使用的。。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1055 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 22:57 · PVG 06:57 · LAX 15:57 · JFK 18:57
    ♥ Do have faith in what you're doing.