From cd22f62d60736907af373d4fcbefc5f5491b2321 Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Wed, 1 Oct 2025 00:01:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(wip):=20=E5=A4=8D=E5=88=B6=E6=96=87?= =?UTF-8?q?=E5=AD=97=E5=88=B0=E5=89=AA=E8=B4=B4=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/ui/copyToClipboard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ui/copyToClipboard.ts b/client/ui/copyToClipboard.ts index a9fbea2..a9cfa2b 100644 --- a/client/ui/copyToClipboard.ts +++ b/client/ui/copyToClipboard.ts @@ -9,6 +9,6 @@ export default function copyToClipboard(text: string) { input.select() input.setSelectionRange(0, 1145141919810) document.execCommand('copy') - input.clearSelection() + input.setSelectionRange(null, null) } } \ No newline at end of file