微信小程序如何禁止分享?

小程序 文章 2021-03-26 15:02 1193 0 全屏看文

AI助手支持GPT4.0

微信小程序如何禁止分享?How to prohibit sharing of WeChat Mini Programs?

微信小程序如何禁止分享?

未进入程序时,右上角的三个点可以点击,可以直接分享,我希望禁用这个功能。


提供的API设置是有延迟的,能否一开始就禁用?

Before entering the program, you can click the three points in the upper right corner to share directly. I want to disable this function. The API settings provided are delayed. Can they be disabled at the beginning?

回答:

维她命系:

小程序 js 文件中移除 onShareAppMessage、onShareTimeline 后,页面就没有分享入口了。

虚渡:需要重新装嘛?
CitizenFour:

页面JS不要加onShareAppMessage 

-EOF-

AI助手支持GPT4.0