wx.setClipboardData({ data: that.data.url, //复制的内容 success(){ //成功之后的回调 }) } })
小程序复制剪切板的方法
原文:https://www.cnblogs.com/hrone/p/8425716.html