| 
					
				 | 
			
			
				@@ -50,23 +50,25 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   import api from '@/common/http/' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     onShow() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      uni.$emit("updateUserInfo") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // #ifdef H5 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      var getList = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (this.timeId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          clearTimeout(this.timeId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (this.$store.state.user.token) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        uni.$emit("getSendMsg") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // #ifdef H5 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        var getList = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (this.timeId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            clearTimeout(this.timeId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          api.postJson('/user/talk/list2', { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            userId: this.$store.state.user.userId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            pageNum: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            pageSize: -1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }, false).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.list = res.data.records 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.timeId = setTimeout(getList, 2000) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        api.postJson('/user/talk/list2', { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          userId: this.$store.state.user.userId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          pageNum: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          pageSize: -1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }, false).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.list = res.data.records 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.timeId = setTimeout(getList, 2000) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // #endif 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // #endif 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // #ifdef H5 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     data() { 
			 |