V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Alpacino
V2EX  ›  微信

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

  •  
  •   Alpacino · 2019-06-19 00:36:32 +08:00 · 5490 次点击
    这是一个创建于 1771 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    1 条回复    2019-06-19 05:44:05 +08:00
    Alpacino
        1
    Alpacino  
    OP
       2019-06-19 05:44:05 +08:00
    有没有办法设置一个 DUMMY 页面之类的。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   959 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 21:24 · PVG 05:24 · LAX 14:24 · JFK 17:24
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.