pull/365/merge
Aykan A 2024-01-12 00:53:17 -08:00 committed by GitHub
commit 222e8d4d35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -157,6 +157,14 @@ const routes: RouteRecordRaw[] = [
}, },
component: () => import(/* webpackChunkName: "403" */ '../views/403.vue'), component: () => import(/* webpackChunkName: "403" */ '../views/403.vue'),
}, },
{
path: '/:pathMatch(.*)*',
name: '404',
meta: {
title: '未找到',
},
component: () => import(/* webpackChunkName: "404" */ '../views/404.vue'),
}
]; ];
const router = createRouter({ const router = createRouter({