This commit is contained in:
2024-04-16 11:41:18 +08:00
parent 178e8ff5cb
commit 32aa0eb971
8 changed files with 105 additions and 29 deletions

View File

@@ -108,3 +108,12 @@ export function parseParameter(obj: any) {
}
return arr.join('&');
}
export function copy(content: string) {
uni.setClipboardData({
data: content,
success: function(res) {
showToast('复制成功');
}
});
}