uniapp复制本文

158 阅读1分钟
uni.setClipboardData({ 
	data: '文本', 
	success:function(data){}, 
	fail:function(err){}, 
	complete:function(res){} 
})