From 8e059496a24b13ff6827816fcc97bcc7b34249e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BE=99=E8=BF=90=E6=A8=A1?= <1724894114@qq.com> Date: Thu, 18 Jul 2024 21:21:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=BC=E5=87=BA=E6=8E=A5?= =?UTF-8?q?=E6=94=B6=E6=B6=88=E6=81=AF=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/scExport/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/scExport/index.vue b/src/components/scExport/index.vue index 6c1a380..ec832da 100644 --- a/src/components/scExport/index.vue +++ b/src/components/scExport/index.vue @@ -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); }, } }