feat: 基础搭建框架完成

This commit is contained in:
landaiqing
2024-04-12 23:31:22 +08:00
parent 18d15ddd17
commit 81524f7edd
17 changed files with 3340 additions and 196 deletions

View File

@@ -1,14 +1,14 @@
import {useNavigate} from 'react-router-dom';
import { useNavigate } from 'react-router-dom'
export default () => {
const navigate = useNavigate();
const navigate = useNavigate()
const goBack = () => {
navigate(-1);
};
navigate(-1)
}
return (
<>
<h1>About Page</h1>
<button onClick={goBack}></button>
</>
);
};
)
}