|  | @@ -34,7 +34,7 @@
 | 
	
		
			
				|  |  |  				<u-cell title="会员等级" :value="memberInfo.levelName"></u-cell>
 | 
	
		
			
				|  |  |  				<u-cell title="实名制认证" @click="factorAuth" :value="memberInfo.isAuth==1?'已认证':'去认证'"></u-cell>
 | 
	
		
			
				|  |  |  			</u-cell-group>
 | 
	
		
			
				|  |  | -			<!-- <u-button text="取消登录" type="warning" @click="clearStorage" style="margin-top: 30rpx;"></u-button> -->
 | 
	
		
			
				|  |  | +			<u-button text="取消登录" type="warning" @click="logOut" style="margin-top: 30rpx;"></u-button>
 | 
	
		
			
				|  |  |  			<u-datetime-picker
 | 
	
		
			
				|  |  |  				:show="timeShow"
 | 
	
		
			
				|  |  |  				:minDate="new Date().getTime()-365*100*24*3600*1000"
 | 
	
	
		
			
				|  | @@ -103,22 +103,24 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  		},
 | 
	
		
			
				|  |  |  		methods: {
 | 
	
		
			
				|  |  | -			clearStorage(){
 | 
	
		
			
				|  |  | -				uni.clearStorage();
 | 
	
		
			
				|  |  | -				uni.showToast({
 | 
	
		
			
				|  |  | -					title:'清除完成,请手动重新进入小程序',
 | 
	
		
			
				|  |  | -					icon:'none',
 | 
	
		
			
				|  |  | -					complete() {
 | 
	
		
			
				|  |  | -					}
 | 
	
		
			
				|  |  | -				})
 | 
	
		
			
				|  |  | +			logOut(){
 | 
	
		
			
				|  |  | +				this.$u.vuex('vuex_user_info', {});
 | 
	
		
			
				|  |  | +				// uni.clearStorage();
 | 
	
		
			
				|  |  | +				this.getMemberInfo()
 | 
	
		
			
				|  |  | +				// uni.showToast({
 | 
	
		
			
				|  |  | +				// 	title:'清除完成,请手动重新进入小程序',
 | 
	
		
			
				|  |  | +				// 	icon:'none',
 | 
	
		
			
				|  |  | +				// 	complete() {
 | 
	
		
			
				|  |  | +				// 	}
 | 
	
		
			
				|  |  | +				// })
 | 
	
		
			
				|  |  |  			},
 | 
	
		
			
				|  |  |  			getMemberInfo(){
 | 
	
		
			
				|  |  |  				this.$u.api.memberInfo({id:this.vuex_user_info.userid}).then(res=>{
 | 
	
		
			
				|  |  |  					this.memberInfo = res.data;
 | 
	
		
			
				|  |  |  					this.avatar =  res.data.avatar;
 | 
	
		
			
				|  |  | -					console.log('memberInfo',this.memberInfo);
 | 
	
		
			
				|  |  | +					// console.log('memberInfo',this.memberInfo);
 | 
	
		
			
				|  |  |  					}).catch(err=>{
 | 
	
		
			
				|  |  | -					console.log('memberInfo',err.data);
 | 
	
		
			
				|  |  | +					console.log('memberInfo',err);
 | 
	
		
			
				|  |  |  				})
 | 
	
		
			
				|  |  |  			},
 | 
	
		
			
				|  |  |  			handleChangeSex(){
 |