|
@@ -125,21 +125,21 @@
|
|
|
// helper.getListByUserId()
|
|
|
// })
|
|
|
}
|
|
|
+ that.$store.commit('login', res.data.data)
|
|
|
+ var name = 'userInfo';
|
|
|
+ var value = res.data.data;
|
|
|
+ that.$store.commit('$uStore', {
|
|
|
+ name,
|
|
|
+ value
|
|
|
+ });
|
|
|
+ // that.liangxinLogin()
|
|
|
|
|
|
+ uni.switchTab({
|
|
|
+ url: '/pages/sale/information'
|
|
|
+ });
|
|
|
+ uni.hideLoading()
|
|
|
})
|
|
|
- that.$store.commit('login', res.data.data)
|
|
|
- var name = 'userInfo';
|
|
|
- var value = res.data.data;
|
|
|
- that.$store.commit('$uStore', {
|
|
|
- name,
|
|
|
- value
|
|
|
- });
|
|
|
- // that.liangxinLogin()
|
|
|
|
|
|
- uni.switchTab({
|
|
|
- url: '/pages/sale/information'
|
|
|
- });
|
|
|
- uni.hideLoading()
|
|
|
}else{
|
|
|
uni.hideLoading()
|
|
|
uni.showToast({
|