litian
2024-05-17 30605ea2c8e9683e8202cd531de84ce98fd7be75
src/router/index.ts
@@ -4,12 +4,8 @@
const Login = () => import('@/views/login.vue')
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      redirect: 'home'
    },
    {
      path: '/login',
      name: 'login',