一、错误操作:通过touchStart事件动态设置分享内容
错误逻辑描述:
- 通过open-type的button绑定touchstart修改分享内容
 - 然后在onShareAppMessage获取修改过之后的分享内容
 
上述方式部分android会有兼容问题
二、正确操作:通过在button绑定属性来动态获取分享的数据
1  | <button open-type="share" data-title="分享标题一">分享</button>  | 
1  | onShareAppMessage(res) {  | 
错误逻辑描述:
上述方式部分android会有兼容问题
1  | <button open-type="share" data-title="分享标题一">分享</button>  | 
1  | onShareAppMessage(res) {  |