11
This commit is contained in:
parent
09e794b2ef
commit
9de11a5f52
@ -55,7 +55,7 @@ router.beforeEach((to, from, next) => {
|
|||||||
// alert(urlToBeAccessed+' 11111')
|
// alert(urlToBeAccessed+' 11111')
|
||||||
console.log('即将跳转到:', urlToBeAccessed);
|
console.log('即将跳转到:', urlToBeAccessed);
|
||||||
|
|
||||||
if(1=1){
|
if(1==1){
|
||||||
const token=localStorage.getItem('bearer-tokens');
|
const token=localStorage.getItem('bearer-tokens');
|
||||||
if(typeof token === "undefined"||token ==null|| token == ""|| token == "undefined")
|
if(typeof token === "undefined"||token ==null|| token == ""|| token == "undefined")
|
||||||
{
|
{
|
||||||
@ -63,7 +63,7 @@ router.beforeEach((to, from, next) => {
|
|||||||
let queryParams = to.query;
|
let queryParams = to.query;
|
||||||
let subscribe = queryParams.subscribe
|
let subscribe = queryParams.subscribe
|
||||||
// alert(subscribe+' 3333')
|
// alert(subscribe+' 3333')
|
||||||
if(1=1){
|
if(1==1){
|
||||||
|
|
||||||
// let openid = queryParams.openid
|
// let openid = queryParams.openid
|
||||||
let openid = getCookie('wechat_user_openid')
|
let openid = getCookie('wechat_user_openid')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user