Skip to content

Commit 2917c50

Browse files
committed
feat: 修改路由为hash router
1 parent e7b6666 commit 2917c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// src/App.tsx
2-
import { BrowserRouter as Router, Routes, Route, Link, useLocation } from 'react-router-dom';
2+
import { HashRouter as Router, Routes, Route, Link, useLocation } from 'react-router-dom';
33
import { ThemeProvider, createTheme, AppBar, Toolbar, Container, styled } from '@mui/material';
44
import Home from './pages/Home';
55
import PromptTemplate from './pages/PromptTemplate';

0 commit comments

Comments
 (0)