Browse Source

fix: route匹配404页面 (#10007)

pull/10036/head
minisola 4 years ago
committed by GitHub
parent
commit
86bc6d855e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      config/routes.ts

7
config/routes.ts

@ -18,9 +18,6 @@ export default [
path: '/user/login',
component: './User/Login',
},
{
component: './404',
},
],
},
{
@ -41,9 +38,6 @@ export default [
icon: 'smile',
component: './Welcome',
},
{
component: './404',
},
],
},
{
@ -57,6 +51,7 @@ export default [
redirect: '/welcome',
},
{
path: '*',
component: './404',
},
];

Loading…
Cancel
Save