diff --git a/src/pages/auth/Login.vue b/src/pages/auth/Login.vue index b53c3ec7..3228a526 100644 --- a/src/pages/auth/Login.vue +++ b/src/pages/auth/Login.vue @@ -1,113 +1,38 @@ diff --git a/src/router/index.ts b/src/router/index.ts index cd6c62e6..5801b971 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -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 });