cyy 10 місяців тому
батько
коміт
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)