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) => {
 router.beforeEach(async(to, from, next) => {
+  console.log(window.location)
   const parmObj = {}
   const parmObj = {}
   if (window.location.search !== '') {
   if (window.location.search !== '') {
     const str = window.location.search.slice(1, window.location.search.length)
     const str = window.location.search.slice(1, window.location.search.length)