From 03ca605c8c53ab27ec46df65305cd4325a2dfe1f Mon Sep 17 00:00:00 2001 From: coco1986509808 <1986509808@qq.com> Date: Wed, 12 Apr 2023 19:09:03 +0800 Subject: [PATCH] =?UTF-8?q?4.12=E8=A7=86=E9=A2=91=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E8=AF=95=E6=88=90=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/monitoring/barrier.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/modules/monitoring/barrier.vue b/src/views/modules/monitoring/barrier.vue index 904620a..02bd594 100644 --- a/src/views/modules/monitoring/barrier.vue +++ b/src/views/modules/monitoring/barrier.vue @@ -88,7 +88,7 @@
- +
@@ -192,6 +192,7 @@ label: 'label' }, // 图片信息 + faceBgUrltest: "http://192.168.1.133:9000/middleware/103/1028345463.jpg", faceBgUrl: "", faces: [], currentFaces: [], @@ -205,17 +206,20 @@ }, mounted() { //this.timer = setInterval(this.get, 1000); + this.get() }, beforeDestroy() {}, created() { // 初始化选择默认卡口 this.initGetCameraId() // 初始化获取4条预警信息 - this.initGetWarningPicture() + // this.initGetWarningPicture() }, methods: { get(){ + this.warningList = []; + // console.log("this waringlist"+this.warningList); this.$http.get("/faces/list").then(res => { this.warningList = res.data; })