Skip to content

Commit

Permalink
fix: gh修复构建
Browse files Browse the repository at this point in the history
  • Loading branch information
huangmingfu committed Oct 31, 2024
1 parent e80ce21 commit 14db558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function uuid() {
* @param {string} text 要复制的文本
* @param {string | null} 复制成功时的提示文本
*/
export function copy(text: string, prompt: string | null = '已成功复制到剪切板!') {
export function copy(text: string, _prompt: string | null = '已成功复制到剪切板!') {
if (navigator.clipboard) {
return navigator.clipboard
.writeText(text)
Expand Down

0 comments on commit 14db558

Please sign in to comment.