Ver código fonte

添加开发说明

zhangjiaqi 4 anos atrás
pai
commit
e33fef4c6a
1 arquivos alterados com 3 adições e 0 exclusões
  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,