lmc 1 năm trước cách đây
mục cha
commit
fd21bbdfed
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/router/index.js

+ 1 - 1
src/router/index.js

@@ -3,7 +3,7 @@ import { createRouter, createWebHashHistory } from 'vue-router'
 const routes = [
 const routes = [
   {
   {
     path: '/',
     path: '/',
-    redirect: '/home'
+    redirect: { name: "home" }
   },
   },
   {
   {
     name: 'login',
     name: 'login',