diff --git a/frontend/src/components/LoadingSpinner.tsx b/frontend/src/components/LoadingSpinner.tsx index f6742fc..e1dc29a 100644 --- a/frontend/src/components/LoadingSpinner.tsx +++ b/frontend/src/components/LoadingSpinner.tsx @@ -9,8 +9,8 @@ export default function LoadingSpinner({ fullScreen = false }: LoadingSpinnerPro const content = (
-
-
+
+
{t('admin.common.loading')}
diff --git a/frontend/src/pages/admin/layout/AdminLayout.tsx b/frontend/src/pages/admin/layout/AdminLayout.tsx index 2bd5730..e90684f 100644 --- a/frontend/src/pages/admin/layout/AdminLayout.tsx +++ b/frontend/src/pages/admin/layout/AdminLayout.tsx @@ -178,7 +178,7 @@ const AdminLayout: FC = () => {
- }> + }>
diff --git a/frontend/src/router.tsx b/frontend/src/router.tsx index fdb9b9e..8572bc3 100644 --- a/frontend/src/router.tsx +++ b/frontend/src/router.tsx @@ -56,7 +56,7 @@ const LoginRoute = () => { } return ( - }> + }> ); @@ -65,7 +65,7 @@ const LoginRoute = () => { // 页面布局组件 const PageLayout = () => (
- }> + }>
@@ -82,7 +82,7 @@ const router = createBrowserRouter([ { path: '/', element: ( - }> + }> ), @@ -90,7 +90,7 @@ const router = createBrowserRouter([ { index: true, element: ( - }> + }> ), @@ -98,7 +98,7 @@ const router = createBrowserRouter([ { path: 'daily', element: ( - }> + }> ), @@ -106,7 +106,7 @@ const router = createBrowserRouter([ { path: 'posts/:articleId', element: ( - }> + }>
), @@ -133,7 +133,7 @@ const router = createBrowserRouter([ { index: true, element: ( - }> + }> ), @@ -141,7 +141,7 @@ const router = createBrowserRouter([ { path: 'posts', element: ( - }> + }> ), @@ -149,7 +149,7 @@ const router = createBrowserRouter([ { path: 'daily', element: ( - }> + }> ), @@ -157,7 +157,7 @@ const router = createBrowserRouter([ { path: 'medias', element: ( - }> + }> ), @@ -165,7 +165,7 @@ const router = createBrowserRouter([ { path: 'categories', element: ( - }> + }> ), @@ -173,7 +173,7 @@ const router = createBrowserRouter([ { path: 'users', element: ( - }> + }> ), @@ -181,7 +181,7 @@ const router = createBrowserRouter([ { path: 'contributors', element: ( - }> + }> ), @@ -189,7 +189,7 @@ const router = createBrowserRouter([ { path: 'settings', element: ( - }> + }> ),