修改路由
This commit is contained in:
parent
5302e9054e
commit
e13cc2a684
|
|
@ -5,7 +5,7 @@ import { getToken, setToken } from '@/utils/auth'
|
|||
const routes = [
|
||||
{
|
||||
path: '/',
|
||||
redirect: '/aipaint'
|
||||
redirect: '/home'
|
||||
},
|
||||
{
|
||||
path: '/login',
|
||||
|
|
@ -13,8 +13,8 @@ const routes = [
|
|||
component: () => import('@/views/login/index.vue')
|
||||
},
|
||||
{
|
||||
path: '/aipaint',
|
||||
name: 'aipaint',
|
||||
path: '/home',
|
||||
name: 'home',
|
||||
component: () => import('@/views/home/index.vue')
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue