Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.5k views
in Technique[技术] by (71.8m points)

uni-app 如何全局配置微信小程序分享功能?

在文档上找到了
https://uniapp.dcloud.io/api/plugins/share?id=onshareappmessage

这个 onShareAppMessage 事件(生命周期) 在一个页面上加上是有效的,但是我有三十来个页面 难道每个页面都要重复写一遍吗...请问各位大佬 有没有做过全局配置分享功能的?在线等


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...