cyy пре 11 месеци
родитељ
комит
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)