Alpacino
V2EX  ›  微信

关于微信小程序 WEBVIEW 和小程序之间传值交互。

  •  
  •   Alpacino · Jun 19, 2019 · 6347 views
    This topic created in 2543 days ago, the information mentioned may be changed or developed.

    wx.miniProgram.postMessage()和 bindmessage="msgHandler"文档里写只能在小程序后退,组件销毁,分享时触发并收到消息。请问有没有什么别的办法可以实时收到消息,或者打开 WEBVIEW 第一时间收到消息?

    1 replies    2019-06-19 05:44:05 +08:00
    Alpacino
        1
    Alpacino  
    OP
       Jun 19, 2019
    有没有办法设置一个 DUMMY 页面之类的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5838 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 02:12 · PVG 10:12 · LAX 19:12 · JFK 22:12
    ♥ Do have faith in what you're doing.