修改顺序

This commit is contained in:
luyuan 2020-08-03 14:41:49 +08:00
parent 8727ae913d
commit 335f4c5564
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -179,7 +179,14 @@
})
return false
} else {
console.log(123)
me.loginIn(res.data.token); //
//
uni.setStorageSync({
key: 'user_info',
data: res.data
});
if (res.data.member.has_labels) {
uni.switchTab({
url: '/pages/index/index'
@ -189,14 +196,7 @@
url: '/pageA/topick/topick'
})
}
//
uni.setStorageSync({
key: 'user_info',
data: res.data,
success: function() {
console.log('success');
}
});
}
// token