Przeglądaj źródła

添加开发说明

zhangjiaqi 4 lat temu
rodzic
commit
e33fef4c6a
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      src/router/index.js

+ 3 - 0
src/router/index.js

@@ -91,6 +91,9 @@ router.beforeEach(async (to, from, next) => {
       }
       next()
     } else {
+      //TODO 开发环境注掉,跳过验证
+      // next();
+      // return
       let lastRoute = {
         path: to.path,
         params: to.params,