Commit daa47b95 authored by Mac's avatar Mac

没登录的处理

parent 1cd28c12
......@@ -180,10 +180,18 @@
try {
userInfo = JSON.parse(localStorage.u);
if (!userInfo.customerId) {
userInfo = {
token:'token',
accountId:'-1'
}
login=false
// window.location.href = 'https://activity.oytour.com/html/login.html';
}
} catch (e) {
userInfo = {
token:'token',
accountId:'-1'
}
// window.location.href = 'https://activity.oytour.com/html/login.html';
login=false
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment