From 764a30fe016c5f0e0f1b8d2a73481a2e77a1da5f Mon Sep 17 00:00:00 2001 From: HuaYu <15600557119@163.com> Date: Sat, 14 Jan 2023 14:52:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AE=E6=92=AD=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/App.js b/src/App.js index 9ae0a1b..55fa68c 100644 --- a/src/App.js +++ b/src/App.js @@ -1,6 +1,7 @@ -import { BrowserRouter as Router, Route, Link, Routes } from 'react-router-dom'; -import { Home, Todo, Message, PersonalCenter, Bottom } from './pages/Buttom/index' -import './pages/Buttom/index.css' +import { BrowserRouter as Router, Route, Navigate , Routes } from 'react-router-dom'; +import { Todo, Message, PersonalCenter, Bottom } from './pages/Bottom/index' +import { Home } from './pages/Home'; +import './pages/Bottom/index.css' import { NavBar, TabBar } from 'antd-mobile' function App() { return ( @@ -11,6 +12,8 @@ function App() {
+ }> + }> }> }>