diff --git a/src/router/index.ts b/src/router/index.ts
index 50dd039..ff3c195 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -14,7 +14,10 @@ const router = createRouter({
},
...appRoutes,
NO_PERMISSION,
- // DETAIL,
+ {
+ path: '/:pathMatch(.*)',
+ component: import('@/views/notFound/index.vue'),
+ },
],
scrollBehavior(_to, _from, savedPosition) {
if (savedPosition) {
diff --git a/src/views/notFound/index.vue b/src/views/notFound/index.vue
new file mode 100644
index 0000000..edc1baa
--- /dev/null
+++ b/src/views/notFound/index.vue
@@ -0,0 +1,21 @@
+
+
+
+
+
+ 返回主页
+
+
+
+
+
+
+
+
+