This commit is contained in:
haomingming 2025-12-28 09:11:07 +08:00
parent 09e794b2ef
commit 9de11a5f52

View File

@ -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')