From 0b595e1297e62f321fe2271bb5afdf4d98f9fc66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liu=20=E5=AE=87=E9=98=B3?= Date: Sat, 9 Nov 2024 20:54:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D=E5=90=8E=E5=8F=B0=E9=A6=96?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dashboard/components/HeaderInfo/index.tsx | 15 ++++++--------- src/pages/Dashboard/index.tsx | 2 +- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/pages/Dashboard/components/HeaderInfo/index.tsx b/src/pages/Dashboard/components/HeaderInfo/index.tsx index 00dbdd8..81bd476 100644 --- a/src/pages/Dashboard/components/HeaderInfo/index.tsx +++ b/src/pages/Dashboard/components/HeaderInfo/index.tsx @@ -6,22 +6,19 @@ const HeaderInfo: React.FC = () => { const { user } = useUserStore(); return ( -
+
{/* 头像 */} avatar {/* 信息 */}
-

- Hello {user?.name || '未命名'}! 欢迎使用现代化 CMS 后台管理系统 -

- -

- {user?.info || '快去写一个 个性签名~'} -

+
+
Hello {user?.name || '未命名'}!
+
欢迎使用现代化博客管理系统
+
); diff --git a/src/pages/Dashboard/index.tsx b/src/pages/Dashboard/index.tsx index 68aea68..56a7bc6 100644 --- a/src/pages/Dashboard/index.tsx +++ b/src/pages/Dashboard/index.tsx @@ -5,7 +5,7 @@ import Stats from './components/Stats'; const Home = () => { return ( <> - +