ccj преди 2 години
родител
ревизия
4e3b15c1f0
променени са 1 файла, в които са добавени 12 реда и са изтрити 12 реда
  1. 12 12
      pages/public/login_account_number.vue

+ 12 - 12
pages/public/login_account_number.vue

@@ -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({