清空消息
This commit is contained in:
		
							parent
							
								
									93dbdca573
								
							
						
					
					
						commit
						6eeebf25c0
					
				@ -161,10 +161,14 @@
 | 
			
		||||
			},
 | 
			
		||||
			// 清空消息
 | 
			
		||||
			delMessage(){
 | 
			
		||||
 | 
			
		||||
				this.$u.api.delMessage({
 | 
			
		||||
					type : "all"
 | 
			
		||||
				}).then((res)=>{
 | 
			
		||||
					console.log(res)
 | 
			
		||||
					this.imService.friends = {};
 | 
			
		||||
					this.information_dl = [];
 | 
			
		||||
					uni.setStorageSync('imlist',JSON.stringify([]));
 | 
			
		||||
					if(res.errCode == 0){
 | 
			
		||||
						this.$refs.uToast.show({
 | 
			
		||||
							title: '清除成功',
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user