This commit is contained in:
zhu
2026-03-27 17:55:18 +08:00
parent ee03132cee
commit 382f6b9811
34 changed files with 1406 additions and 376 deletions

View File

@@ -72,4 +72,20 @@ export function uploadQiuFile(path, file, is_public = 1) {
}
})
})
}
/**
* 复制文字内容
* @param {文本} text
*/
export function copyText(text) {
wx.setClipboardData({
data: text,
success() {
wx.showToast({
title: '已复制到剪切板',
icon: 'none'
})
},
})
}