chenrui 1 rok pred
rodič
commit
1183f55e84
1 zmenil súbory, kde vykonal 5 pridanie a 5 odobranie
  1. 5 5
      pages/userCenter/index.vue

+ 5 - 5
pages/userCenter/index.vue

@@ -130,8 +130,8 @@
 			// 切换账户
 			changeAcount(item){
 				const _this = this
-				this.$store.state.vuex_changeOrg = item.value
-				this.$set(getApp().globalData,'changeOrg',item.value)
+				_this.$store.state.vuex_changeOrg = item[0].value
+				_this.$set(getApp().globalData,'changeOrg',item[0].value)
 				setTimeout(()=>{
 					//  登录
 					login({ username: '', password: '' }).then(res => {
@@ -150,7 +150,7 @@
 							uni.showToast({ icon: 'none', title: res.message });
 						}
 					});
-				},100)
+				},800)
 			},
 			// 跳转到首页
 			toMain() {
@@ -285,8 +285,8 @@
 		}
 	}
 	/deep/.u-select__header__title{
-		color:#666 !important;
-		font-size: 30upx;
+		color:#999 !important;
+		font-size: 32upx;
 		font-weight: bold;
 	}
 </style>