|  | @@ -26,7 +26,7 @@ Component({
 | 
	
		
			
				|  |  |          tabshow: true
 | 
	
		
			
				|  |  |        })
 | 
	
		
			
				|  |  |        this.getlist(true);
 | 
	
		
			
				|  |  | -			return true;
 | 
	
		
			
				|  |  | +      return true;
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      getlist(init = false) {
 | 
	
		
			
				|  |  |        if (init.detail != undefined) init = init.detail;
 | 
	
	
		
			
				|  | @@ -62,5 +62,13 @@ Component({
 | 
	
		
			
				|  |  |        })
 | 
	
		
			
				|  |  |        this.getlist(true);
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    callback({
 | 
	
		
			
				|  |  | +      detail
 | 
	
		
			
				|  |  | +    }) {
 | 
	
		
			
				|  |  | +      let i = this.data.list.findIndex(v => v.messageid == detail);
 | 
	
		
			
				|  |  | +      this.setData({
 | 
	
		
			
				|  |  | +        [`list[${i}].isread`]: 1
 | 
	
		
			
				|  |  | +      })
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  })
 |