From dcabfa266f84ab32ba6cf5439ea3245d8de92bbf Mon Sep 17 00:00:00 2001 From: rdmclin2 Date: Fri, 19 Apr 2024 23:58:31 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20fix:=20=E4=BF=AE=E5=A4=8D=20=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=20Loading=20=E5=92=8C=20panel=20=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/welcome/Redirect.tsx | 2 +- src/layout/Header/index.tsx | 8 ++++---- src/panels/AgentPanel/Agent/Card/index.tsx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/welcome/Redirect.tsx b/src/app/welcome/Redirect.tsx index 08b09d5..c7311bb 100644 --- a/src/app/welcome/Redirect.tsx +++ b/src/app/welcome/Redirect.tsx @@ -9,7 +9,7 @@ const Redirect = () => { useEffect(() => { // const hasData = localStorage.getItem('V_IDOL_WELCOME'); // if (hasData) { - router.push('/home'); + router.push('/chat'); // } else { // router.push('/welcome'); // } diff --git a/src/layout/Header/index.tsx b/src/layout/Header/index.tsx index 306ed9d..2100a09 100644 --- a/src/layout/Header/index.tsx +++ b/src/layout/Header/index.tsx @@ -30,14 +30,14 @@ const Header = (props: Props) => { { }} type={'primary'} > - 加载 + 聊天 ,