Parcourir la source

添加开发说明

zhangjiaqi il y a 5 ans
Parent
commit
e33fef4c6a
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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,