update redirect

This commit is contained in:
AceDataCloud committed 2022-02-05 02:01:46 +08:00
1 parent 0a926e447f
commit 09f7a36edd
2 files changed
+21 -103

No files matched your search

+3 -10
View File
@@ -2,18 +2,11 @@ import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router
import auth from './auth';
import store from '@/store';
const routes = [
{
path: '/',
name: 'home',
redirect: '/auth/login'
},
auth
];
const routes = [auth];
const router = createRouter({
// history: createWebHistory(),
history: createWebHashHistory(),
history: createWebHistory(),
// history: createWebHashHistory(),
routes
});