Skip to content

Commit a8812e9

Browse files
committed
router redirect
1 parent bfdc6b6 commit a8812e9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/router/routes.js

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ const routes = [
1515
{
1616
path: '/login',
1717
component: resolve => require(['views/Account/Login.vue'], resolve)
18+
},
19+
{
20+
path: '*',
21+
redirect: '/'
1822
}
1923
]
2024

0 commit comments

Comments
 (0)