Commit 688c8a3ac6babddc64ccac72f2c47d24d0cc6d25

Authored by yangzhi
1 parent f0344737

删除了404页面

Showing 1 changed file with 3 additions and 3 deletions
src/utils/routerList.js
@@ -22,7 +22,7 @@ export function getRoutes(permissions) { @@ -22,7 +22,7 @@ export function getRoutes(permissions) {
22 { 22 {
23 path: '/404', 23 path: '/404',
24 component: () => 24 component: () =>
25 - import ('@/views/404'), 25 + import ('@/views/dashboard/index'),
26 hidden: true 26 hidden: true
27 }, 27 },
28 { 28 {
@@ -269,7 +269,7 @@ export function getRoutes(permissions) { @@ -269,7 +269,7 @@ export function getRoutes(permissions) {
269 // 404 page must be placed at the end !!! 269 // 404 page must be placed at the end !!!
270 { 270 {
271 path: '*', 271 path: '*',
272 - redirect: '/404', 272 + redirect: '/dashboard',
273 hidden: true 273 hidden: true
274 } 274 }
275 ] 275 ]
@@ -532,7 +532,7 @@ export function getRoutes(permissions) { @@ -532,7 +532,7 @@ export function getRoutes(permissions) {
532 // 404 page must be placed at the end !!! 532 // 404 page must be placed at the end !!!
533 { 533 {
534 path: '*', 534 path: '*',
535 - redirect: '/404', 535 + redirect: '/dashboard',
536 hidden: true 536 hidden: true
537 } 537 }
538 ] 538 ]