Skip to content

Commit

Permalink
🐛 fix: 修复 首页 Loading 和 panel 加载问题
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmclin2 committed Apr 19, 2024
1 parent d5f87c3 commit dcabfa2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app/welcome/Redirect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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');
// }
Expand Down
8 changes: 4 additions & 4 deletions src/layout/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ const Header = (props: Props) => {
<TabsNav
activeKey={headerKey}
items={[
{
key: HeaderNavKey.Home,
label: '互动',
},
{
key: HeaderNavKey.Chat,
label: '聊天',
},
{
key: HeaderNavKey.Home,
label: '互动',
},
{
key: HeaderNavKey.Market,
label: '发现',
Expand Down
2 changes: 1 addition & 1 deletion src/panels/AgentPanel/Agent/Card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const Header = () => {
}}
type={'primary'}
>
加载
聊天
</Button>,
<Button
key="edit"
Expand Down

0 comments on commit dcabfa2

Please sign in to comment.