Skip to content

Commit 39d3350

Browse files
authored
Merge pull request #6 from dsgler/feat/404
fix: not found page
2 parents 66b851c + 9dedf4e commit 39d3350

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/router/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { createRouter, createWebHistory } from 'vue-router';
2+
import NotFound from '@/views/notFound/index.vue';
23
import { LogoutResponse } from '@/constants/httpMsg/register/LogoutStatusMsg';
34
import i18n from '@/locale';
45
import { Message } from '@arco-design/web-vue';
@@ -46,7 +47,7 @@ const router = createRouter({
4647
NO_PERMISSION,
4748
{
4849
path: '/:pathMatch(.*)',
49-
component: import('@/views/notFound/index.vue'),
50+
component: NotFound,
5051
},
5152
],
5253
scrollBehavior() {

0 commit comments

Comments
 (0)