修改导出接收消息方法
This commit is contained in:
parent
cedea73ca8
commit
8e059496a2
@ -44,7 +44,7 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
// 获取新消息
|
||||
this.$socketApi.getSock(this.getWsResult);
|
||||
// this.$socketApi.getSock(this.getWsResult);
|
||||
},
|
||||
methods:{
|
||||
getWsResult(res){
|
||||
@ -82,6 +82,8 @@ export default {
|
||||
},
|
||||
exportClick(){
|
||||
this.$emit('exportData');
|
||||
// 获取新消息
|
||||
this.$socketApi.getSock(this.getWsResult);
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user