uniApp常用

94 阅读1分钟
创建剪贴板(用于一键复制)
uni.setClipboardData({
    data: 'hello',
    success: function () {
        console.log('success');
    }
});