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