From 808c0812f5fef71f1b32cb2e5a9c959bcf5bb372 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期二, 10 十一月 2020 14:56:23 +0800 Subject: [PATCH] 修复系统设置修改ip后的跳转方式 --- src/pages/cameraAccess/components/LinkageRule.vue | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/pages/cameraAccess/components/LinkageRule.vue b/src/pages/cameraAccess/components/LinkageRule.vue index dcf7ca7..57a7fa9 100644 --- a/src/pages/cameraAccess/components/LinkageRule.vue +++ b/src/pages/cameraAccess/components/LinkageRule.vue @@ -74,6 +74,7 @@ :currentCameraId="data.cameraId" @changeLoading="changeLoading" @fromCanvas="getCanvasData" + @refresh="refresh" ></polygon-canvas> </swiper-slide> </swiper> @@ -236,6 +237,14 @@ } this.swipercanvasData = swipers; }, + refresh(url,id) { + this.swipercanvasData.forEach(data=>{ + if(data.cameraId == id){ + data.baseImg = url; + } + }) + //this.Camera.baseImg = url + }, getCanvasData() { }, showRules() { this.tableRuleList = []; -- Gitblit v1.8.0