update uniapp
This commit is contained in:
parent
78b7a3b4db
commit
311eccc94f
@ -49,10 +49,10 @@
|
|||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
uni.setStorageSync("hasLogin", true);
|
uni.setStorageSync("hasLogin", true);
|
||||||
uni.setStorageSync("token", res.token);
|
uni.setStorageSync("token", res.token);
|
||||||
|
that.getUserInfo();
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index'
|
||||||
});
|
});
|
||||||
that.getUserInfo();
|
|
||||||
}
|
}
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user