This commit is contained in:
Gdpao
2020-09-15 16:44:03 +08:00
parent 1a9f06e722
commit 10c9498985
2 changed files with 9 additions and 2 deletions

View File

@@ -418,6 +418,7 @@ export default {
"Authorization" : 'Bearer' + " " + token
},
success(res){
console.log(res)
that.info = res.data.data
// that.list= res.data.data
@@ -461,7 +462,7 @@ export default {
});
},
errors(a){
console.log(a)
console.log(a)
},
newpeople(list){
this.room.onlineUsers = list
@@ -497,6 +498,12 @@ export default {
// this.contentPosition = 'message-box'+(this.room.messages.length-1);
// }, 300)
console.log(message)
if(message.type == 1){
this.videoContext.stop();
this.videoContext.play()
console.log('stop')
return ;
}
this.danmulist.push(message)
if(this.danmulist.length > 7){