Merge pull request 'gdpao' (#370) from gyh into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/370
This commit is contained in:
		
						commit
						d805b6f0bf
					
				@ -273,7 +273,7 @@
 | 
				
			|||||||
			darenItem
 | 
								darenItem
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		onShow() {
 | 
							onShow() {
 | 
				
			||||||
			console.log(this.imService.status)
 | 
								console.log(this.imService.status,this.$store.state.hasLogin)
 | 
				
			||||||
			if(!this.imService.status && this.$store.state.hasLogin){
 | 
								if(!this.imService.status && this.$store.state.hasLogin){
 | 
				
			||||||
				const user = uni.getStorageSync('user_info');
 | 
									const user = uni.getStorageSync('user_info');
 | 
				
			||||||
				// console.log(user)
 | 
									// console.log(user)
 | 
				
			||||||
 | 
				
			|||||||
@ -418,6 +418,7 @@ export default {
 | 
				
			|||||||
        "Authorization" : 'Bearer' + " " + token
 | 
					        "Authorization" : 'Bearer' + " " + token
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      success(res){
 | 
					      success(res){
 | 
				
			||||||
 | 
					          
 | 
				
			||||||
        console.log(res)
 | 
					        console.log(res)
 | 
				
			||||||
        that.info = res.data.data
 | 
					        that.info = res.data.data
 | 
				
			||||||
        // that.list= res.data.data
 | 
					        // that.list= res.data.data
 | 
				
			||||||
@ -461,7 +462,7 @@ export default {
 | 
				
			|||||||
      });
 | 
					      });
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    errors(a){
 | 
					    errors(a){
 | 
				
			||||||
      console.log(a)
 | 
					        console.log(a)
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    newpeople(list){
 | 
					    newpeople(list){
 | 
				
			||||||
      this.room.onlineUsers = list
 | 
					      this.room.onlineUsers = list
 | 
				
			||||||
@ -497,6 +498,12 @@ export default {
 | 
				
			|||||||
      // 	this.contentPosition = 'message-box'+(this.room.messages.length-1);
 | 
					      // 	this.contentPosition = 'message-box'+(this.room.messages.length-1);
 | 
				
			||||||
              // }, 300)
 | 
					              // }, 300)
 | 
				
			||||||
      console.log(message)
 | 
					      console.log(message)
 | 
				
			||||||
 | 
					      if(message.type == 1){
 | 
				
			||||||
 | 
					          this.videoContext.stop();
 | 
				
			||||||
 | 
					          this.videoContext.play()
 | 
				
			||||||
 | 
					          console.log('stop')
 | 
				
			||||||
 | 
					          return ;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
              this.danmulist.push(message)
 | 
					              this.danmulist.push(message)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              if(this.danmulist.length > 7){
 | 
					              if(this.danmulist.length > 7){
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user