如果使用拷贝和复制粘贴功能,以及使用从微信上传文件的功能,需要在weixin后台完善隐私协议。
wx.setClipboardData({duration: 2000,title: '成功',data: 'name',icon: 'success',});
拷贝 错误提示:
setClipboardData:fail api scope is not declared in the privacy agreement。
登录微信开车者中心 - 账号设置- 服务内容声明 - 用户隐私保护指引 (完善即可)。