From d7fda14df67a9f78f08ea1386be592a3aa6fc117 Mon Sep 17 00:00:00 2001 From: lixiaoyuan Date: Fri, 26 Sep 2025 16:54:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=82=A8=E8=83=BD=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E4=B8=8A=E7=9A=84=E6=98=BE=E7=A4=BA=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=EF=BC=8C=E5=AE=9E=E7=8E=B0=E9=80=9A=E8=BF=87queryDevicByCatego?= =?UTF-8?q?ry=E6=8E=A5=E5=8F=A3=E6=9B=B4=E6=96=B0EMU=E5=92=8C=E5=85=85?= =?UTF-8?q?=E7=94=B5=E6=A1=A9=E7=8A=B6=E6=80=81=E5=8F=8A=E9=A2=84=E5=88=B6?= =?UTF-8?q?=E8=88=B1msg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/monitor/device.vue | 1 + web/src/components/monitor/videos.vue | 2 ++ web/src/views/monitor.vue | 17 +++++++++++++---- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/web/src/components/monitor/device.vue b/web/src/components/monitor/device.vue index 356d90b..2359c6d 100644 --- a/web/src/components/monitor/device.vue +++ b/web/src/components/monitor/device.vue @@ -369,6 +369,7 @@ export default { }) this.deviceList = res.data + this.$emit('updateGatewayData', res.gateway); } catch (error) { this.deviceList = [] diff --git a/web/src/components/monitor/videos.vue b/web/src/components/monitor/videos.vue index 2e9b8db..8e3d7ab 100644 --- a/web/src/components/monitor/videos.vue +++ b/web/src/components/monitor/videos.vue @@ -196,6 +196,8 @@ export default { this.videoList = res.data.concat(res.data) this.videoList = this.videoList.concat(this.videoList) + + this.$emit('updateGatewayData', res.gateway); } catch (error) { this.videoList = [] diff --git a/web/src/views/monitor.vue b/web/src/views/monitor.vue index 48467da..e219313 100644 --- a/web/src/views/monitor.vue +++ b/web/src/views/monitor.vue @@ -42,8 +42,8 @@
- - + +