添加了提示
This commit is contained in:
@@ -428,6 +428,7 @@ export default {
|
||||
that.room = that.chatRoomService.room;
|
||||
that.chatRoomService.initialWhenOnlineUserChange(that.newpeople)
|
||||
that.chatRoomService.initialWhenNewMessage(that.whenNewMessage);
|
||||
that.chatRoomService.jieshuzhibo = this.jieshu;
|
||||
this.$forceUpdate();
|
||||
console.log(that.room)
|
||||
|
||||
@@ -440,6 +441,19 @@ export default {
|
||||
this.chatRoomService.quitRoom();
|
||||
},
|
||||
methods:{
|
||||
jieshu(text){
|
||||
console.log(text)
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: text.content,
|
||||
showCancel:false,
|
||||
success: function (res) {
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
errors(a){
|
||||
console.log(a)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user