cyy 10 месяцев назад
Родитель
Сommit
c89cf627e0
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/router/index.js

+ 1 - 0
src/router/index.js

@@ -40,6 +40,7 @@ const whiteList = ['/login', '/register', '/forget', '/authredirect']
  * 权限验证
  */
 router.beforeEach(async(to, from, next) => {
+  console.log(window.location)
   const parmObj = {}
   if (window.location.search !== '') {
     const str = window.location.search.slice(1, window.location.search.length)