微信小程序页面内转发 按钮 转发

xiaoxiao2021-02-28  52

通过给 button 组件设置属性 open-type="share",可以在用户点击按钮后触发 Page.onShareAppMessage() 事件,如果当前页面没有定义此事件,则点击后无效果。相关组件:button

微信小程序 单击按钮转发,一定要设置open-type。否则无效

转载请注明原文地址: https://www.6miu.com/read-82345.html

最新回复(0)