zhangjie 4 年之前
父节点
当前提交
3042d95bea
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/routers/index.js

+ 4 - 1
src/routers/index.js

@@ -35,7 +35,10 @@ export default new Router({
     {
       path: "*",
       name: "404",
-      component: NotFound
+      component: NotFound,
+      meta: {
+        noRequire: true
+      }
     }
     // [lazy-loaded] route level code-splitting
     // {