diff --git a/src/router/index.ts b/src/router/index.ts
index 24a9f789..caa40497 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -44,6 +44,10 @@ const router = createRouter({
...appRoutes,
NO_PERMISSION,
+ {
+ path: '/:pathMatch(.*)',
+ component: import('@/views/notFound/index.vue'),
+ },
],
scrollBehavior() {
return { top: 0 };
diff --git a/src/views/notFound/index.vue b/src/views/notFound/index.vue
new file mode 100644
index 00000000..edc1baab
--- /dev/null
+++ b/src/views/notFound/index.vue
@@ -0,0 +1,21 @@
+
+
+
+
+
+ 返回主页
+
+
+
+
+
+
+
+
+