微信小程序wx.setClipboardData一键复制动态获取值
xxml.复制js.//一键复制copy: function (e) {wx.setClipboardData({data: e.currentTarget.dataset.key, //获取wxml页面中data-key的值success: function (res) {wx.showModal({title: ‘提示’,content: ‘复制成功’,succ...