Commit 2ca132a9 authored by leiqingsong's avatar leiqingsong

修改

parent 194bde82
...@@ -9,7 +9,7 @@ function saveUser(data) { ...@@ -9,7 +9,7 @@ function saveUser(data) {
console.log('存用户信息'); console.log('存用户信息');
console.log(res); console.log(res);
console.log('----'); console.log('----');
if (res.code === 0) { if (res.code == 0) {
localStorage.setItem("user", JSON.stringify(res.data)); localStorage.setItem("user", JSON.stringify(res.data));
} }
}) })
......
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