This commit is contained in:
Gdpao
2020-08-14 11:33:57 +08:00
parent f4ae3578a2
commit ce1a8d6256
3 changed files with 46 additions and 8 deletions

View File

@@ -229,6 +229,7 @@
console.log(res.errCode);
if (res.errCode == 0) {
this.loginIn(res.data.token);
uni.setStorageSync('user_info',res.data);
this.show = false;
uni.switchTab({
url: "../../pages/index/index"
@@ -259,6 +260,7 @@
console.log(res);
if (res.errCode == 0) {
this.loginIn(res.data.token);
uni.setStorageSync('user_info',res.data);
this.show = false;
uni.switchTab({
url: "../../pages/index/index"