问题模块 框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
API和组件 微信小程序 Bug web-view 客户端 6.7.3 2.3.2
web页面只加载一个web-view组件,添加了bindmessage方法,在页面渲染完后postMessage,在开发工具上可以触发postMessage,但在安卓上触发不了,IOS测试的没问题,
尝试解决方案:postMessage传json对象页不起作用
测试了机器:魅族E3, VIVO X20

微信小程序开发问题解答
微信小程序开发者回答:

只能是可序列化对象
微信小程序开发者回答:
web-view postmessage有长度限制吗?传普通字符串是可以,但是我传base64就不行了
本文网址:http://www.91bianli.com/kaifazhinan/77617.html