完善导航栏

This commit is contained in:
jiayuqi7813
2022-06-02 00:18:28 +08:00
parent 3b6e304977
commit 2fc0907c15
2 changed files with 206 additions and 24 deletions

View File

@@ -5,6 +5,10 @@ const routerHistory = createWebHistory()
const router = createRouter({
history: routerHistory,
routes: [
{
path: '/',
redirect:'/home'
},
{
path: '/home',
name:'Home',