From 7a7610857511d235d707a634264502712e0f292a Mon Sep 17 00:00:00 2001 From: Jeffrey Chen <78434827+TCOTC@users.noreply.github.com> Date: Thu, 18 Apr 2024 21:27:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=90=9C=E7=B4=A2=E5=85=83?= =?UTF-8?q?=E7=B4=A0=E7=9A=84=E5=BB=B6=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 39b0ac8..83977b8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -16,7 +16,7 @@ const SearchComponent = { setTimeout(() => { // 等待一小段时间确保元素加载完全 inputElement.focus(); inputElement.select(); - }, 100); + }, 300); } } }); @@ -88,7 +88,7 @@ export default class PluginHighlight extends Plugin { setTimeout(() => { inputElement.focus(); inputElement.select(); - }, 100); + }, 300); } } });