giteaCICD

This commit is contained in:
SpecialX
2025-05-27 11:58:36 +08:00
parent d36fef2bbb
commit 95daf9471b
9 changed files with 200 additions and 32 deletions

View File

@@ -0,0 +1,15 @@

export async function copyTextToClipboard(text) {
try {
await navigator.clipboard.writeText(text);
return true;
} catch (err) {
console.error('复制失败:', err);
return false;
}
}
export function show(message) {
alert(message);
}