From 363fe7f3582bf25ae223a74adbc22be79aeb0dbb Mon Sep 17 00:00:00 2001 From: master1lan <278457198@qq.com> Date: Sun, 5 Mar 2023 12:31:39 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20fix(custom):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=A0=8F=E8=87=AA=E5=8A=A8=E5=A1=AB=E5=85=85?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ISSUES CLOSED: #39 --- src/routers/layout/search/pc/search.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/routers/layout/search/pc/search.tsx b/src/routers/layout/search/pc/search.tsx index 5abb2a1..d23e23c 100644 --- a/src/routers/layout/search/pc/search.tsx +++ b/src/routers/layout/search/pc/search.tsx @@ -105,6 +105,7 @@ const NormalSearch = () => { handlerNavigate(value); }, handerHistorySubmit = (value: string) => { + inputRef.current!.value = value; handlerNavigate(value); addPCTagHistory(value); }; @@ -152,10 +153,12 @@ const AdvanceSearch = forwardRef(function Advance(props, ref) { onBlur(); }, handlerTagHistorySubmit = (tag: string) => { + tagRef.current!.value = tag; handlerNavigate(tag, getNameValue()); addPCTagHistory(tag); }, handlerNameHistorySubmit = (name: string) => { + nameRef.current!.value = name; handlerNavigate(getTagValue(), name); addPCNameHistory(name); };