From 33eec2b68fbd0c7c6a9031ac36e790cd213a25d1 Mon Sep 17 00:00:00 2001
From: xiaoxie <hotcoffie@163.com>
Date: 星期六, 23 四月 2022 11:20:00 +0800
Subject: [PATCH] 动态计算播放器尺寸,保持16:9比例,避免出现黑框或固定大小无法缩放

---
 web_src/src/components/DeviceList.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/web_src/src/components/DeviceList.vue b/web_src/src/components/DeviceList.vue
index d934fe6..62cba31 100644
--- a/web_src/src/components/DeviceList.vue
+++ b/web_src/src/components/DeviceList.vue
@@ -194,7 +194,7 @@
       this.$router.push(`/channelList/${row.deviceId}/0/15/1`);
     },
     showDevicePosition: function (row) {
-      this.$router.push(`/devicePosition/${row.deviceId}/0/15/1`);
+      this.$router.push(`/map?deviceId=${row.deviceId}`);
     },
 
     //gb28181骞冲彴瀵规帴

--
Gitblit v1.8.0