Commit 53746dad authored by 罗超's avatar 罗超

修复

parent 4a757fff
......@@ -3,7 +3,6 @@ const user = {
if (localStorage.b2bUser) {
let u = JSON.parse(window.localStorage.getItem('b2bUser'))
console.log('鑒定權限........', u)
debugger;
if (u.token) {
return u
} else {
......@@ -18,6 +17,8 @@ const user = {
set userInfo(u) {
if (u) {
localStorage.setItem('b2bUser', JSON.stringify(u))
} else {
localStorage.setItem('b2bUser', JSON.stringify(u))
}
},
loginOut() {
......
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