浏览代码

fixed #435

ali 2 年之前
父节点
当前提交
bc55b4cd53
共有 1 个文件被更改,包括 7 次插入 和 7 次删除
  1. 7 7
      src/router/routes.js

+ 7 - 7
src/router/routes.js

@@ -47,16 +47,16 @@ const routes = [
       Document,
       UserPanel
     ]
-  }
+  },
 
   // must status 404
   // Always leave this as last one,
   // but you can also remove it
-  // {
-  //   path: '/404/:catchAll(.*)*',
-  //   name: 'NotFound',
-  //   component:
-  //     () => import('src/pages/Error404.vue')
-  // }
+  {
+    path: '/404/:catchAll(.*)*',
+    name: 'NotFound',
+    component:
+      () => import('src/pages/Error404.vue')
+  }
 ]
 export default routes