修改导出接收消息方法

This commit is contained in:
龙运模 2024-07-18 21:21:29 +08:00
parent cedea73ca8
commit 8e059496a2

View File

@ -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);
}, },
} }
} }