Commit df646f64 authored by 罗超's avatar 罗超

1

parent faf7b5f5
......@@ -100,7 +100,6 @@ export default {
let res = await login(msg);
if (res) {
res.Data.Account = msg.Account;
// uni.clearStorage();
try {
uni.setStorageSync("userInfo", res.Data);
} catch (e) {
......@@ -158,7 +157,6 @@ export default {
setTimeout(() => {
let data = uni.getStorageSync("userInfo");
if (data) {
console.log(147, data);
that.jumpPage();
}
}, 1000);
......@@ -173,6 +171,9 @@ export default {
...methods,
};
},
onLoad(){
uni.clearStorage();
}
};
</script>
......
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