版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_29918313/article/details/80499097
通过给 button
组件设置属性 open-type="share"
,可以在用户点击按钮后触发 Page.
onShareAppMessage
()
事件,如果当前页面没有定义此事件,则点击后无效果。具体可参考小程序开发API
通过给 button
组件设置属性 open-type="share"
,可以在用户点击按钮后触发 Page.
onShareAppMessage
()
事件,如果当前页面没有定义此事件,则点击后无效果。具体可参考小程序开发API