去除console.log
This commit is contained in:
@@ -54,15 +54,10 @@ import { mapMutations, mapActions } from 'vuex'
|
||||
|
||||
// 路由拦截
|
||||
router.beforeEach(function (to, from, next) {
|
||||
console.log("auth : to =>", to);
|
||||
console.log(webLoginType)
|
||||
let toName = to.name
|
||||
let token = store.state.token
|
||||
let path = to.path;
|
||||
let requireAuth = to.meta.requireAuth;
|
||||
console.log("auth : path =>" + path);
|
||||
console.log("token : token =>" + token);
|
||||
console.log("requireAuth : requireAuth =>" + requireAuth);
|
||||
let taskId = to.query.taskIds;
|
||||
let prcId = to.query.prcId;
|
||||
let prcNum = to.query.prcNum;
|
||||
@@ -71,7 +66,6 @@ router.beforeEach(function (to, from, next) {
|
||||
let routerType = to.query.routerType;
|
||||
let param = "taskIds=" + taskId + "&prcId=" + prcId
|
||||
+ "&prcNum=" + prcNum + "&prcName=" + prcName + "&prcType=" + prcType;
|
||||
console.log(store)
|
||||
let url = window.location.search
|
||||
let code = "";
|
||||
if(url){
|
||||
@@ -232,7 +226,6 @@ router.beforeEach(function (to, from, next) {
|
||||
next({path: routerPath + '?' + param2})
|
||||
}
|
||||
}
|
||||
console.log("res : res =>", res);
|
||||
})
|
||||
}
|
||||
if(path === '/loginVerify'){
|
||||
|
||||
Reference in New Issue
Block a user