From ce88e22e0a3f3dbee72cda4cb6c657407d60e80c Mon Sep 17 00:00:00 2001 From: chenxuan Date: Tue, 16 Apr 2024 17:52:35 +0800 Subject: [PATCH] no message --- chenxuan1/src/App.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chenxuan1/src/App.js b/chenxuan1/src/App.js index f029a863d..e74b67f35 100644 --- a/chenxuan1/src/App.js +++ b/chenxuan1/src/App.js @@ -5,7 +5,7 @@ * @LastEditors: chenxuan */ import React,{Component} from 'react' -import {NavLink,Route,Routes} from 'react-router-dom' +import {NavLink,Route,Routes,Navigate} from 'react-router-dom' import routes from './router'; import Head from "./pages/head" import './pages/style.scss' @@ -33,6 +33,7 @@ class App extends Component{ /> ); })} + }>