From 1dff22aeabad8e6ce3a69822a7e0c132897524cb Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 30 Nov 2023 13:30:51 +0800 Subject: [PATCH] fix --- src/@core/utils/navigator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@core/utils/navigator.ts b/src/@core/utils/navigator.ts index 7394bdcf..d384ed91 100644 --- a/src/@core/utils/navigator.ts +++ b/src/@core/utils/navigator.ts @@ -6,7 +6,7 @@ export async function getClipboardContent() { else { const input = document.createElement('input') document.body.appendChild(input) - input.select() + input.focus() document.execCommand('paste') const content = input.value document.body.removeChild(input)