diff --git a/src/route/index.tsx b/src/route/index.tsx
index 5c69c6c..d857a36 100644
--- a/src/route/index.tsx
+++ b/src/route/index.tsx
@@ -1,7 +1,7 @@
 import { createBrowserRouter } from 'react-router-dom'
 import PrivateRoute from './privateRoute'
 import { useSelector } from 'react-redux'
-import Login from '../views/login'
+import Login from '../views/login/login'
 import React from 'react'
 import Forum from '../views/forum'
 import { RootState } from '@/store'
@@ -9,7 +9,8 @@
 const router = createBrowserRouter([
     {
         path: '/',
-        element:<PrivateRoute
+        element:
+        <PrivateRoute
         role={0} // 判断是否登录
         redirectPath="/login"/>, 
         children: [
