'123'
This commit is contained in:
parent
1a10f18a5d
commit
2d5c98399e
|
@ -175,12 +175,14 @@
|
|||
websocketOnmessage: function(e) {
|
||||
console.log('-----接收消息-------', e.data)
|
||||
this.getList();
|
||||
Notification({
|
||||
this.$notify({
|
||||
title: '消息',
|
||||
duration: 3000,
|
||||
type: 'warning',
|
||||
message: '这是一条警告的提示消息',
|
||||
duration: 2000,
|
||||
dangerouslyUseHTMLString: true,
|
||||
message: JSON.parse(e.data).noticeTitle
|
||||
})
|
||||
});
|
||||
},
|
||||
websocketOnclose: function(e) {
|
||||
console.log('connection closed (' + e + ')')
|
||||
|
|
|
@ -32,8 +32,9 @@
|
|||
this.peopleOpen=true;
|
||||
},
|
||||
//选择人的确定按钮事件 submitPeople(nikeNamelist)方法传参一个默认接收用户昵称数组 submitPeople(peopleList,nikeNamelist)方法传参两个则是接收用户昵称数组和用户账号数组
|
||||
submitPeople(peopleList){
|
||||
submitPeople(peopleList,nickNameList){
|
||||
console.log(peopleList);
|
||||
console.log(nickNameList);
|
||||
this.peopleOpen=false;
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue