zhangjiaqi 4 лет назад
Родитель
Сommit
e33fef4c6a
1 измененных файлов с 3 добавлено и 0 удалено
  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,