From c27e345edc6a92f485c1ef722ccaaa8ec6cbf5bf Mon Sep 17 00:00:00 2001
From: che_shuai <che_shuai@massclouds>
Date: 星期四, 13 七月 2023 10:22:42 +0800
Subject: [PATCH] 修复多级级联平台平台时,上级平台无法获取设备录像列表问题。问题详见 https://github.com/648540858/wvp-GB28181-pro/issues/914
---
web_src/src/components/console/ConsoleMediaServer.vue | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/web_src/src/components/console/ConsoleMediaServer.vue b/web_src/src/components/console/ConsoleMediaServer.vue
index 810ee39..a842b50 100644
--- a/web_src/src/components/console/ConsoleMediaServer.vue
+++ b/web_src/src/components/console/ConsoleMediaServer.vue
@@ -1,6 +1,6 @@
<template>
<div id="ConsoleMediaServer" style="width: 100%; height: 100%; background: #FFFFFF; text-align: center">
- <ve-histogram :data="chartData" :extend="extend" :settings="chartSettings" width="100%" height="100%" ></ve-histogram>
+ <ve-histogram ref="ConsoleMEM" :data="chartData" :extend="extend" :settings="chartSettings" width="100%" height="100%" ></ve-histogram>
</div>
</template>
@@ -66,12 +66,11 @@
};
},
mounted() {
- // setInterval(()=>{
- // // console.log(111111)
- // for (let i = 0; i < this.chartData.rows.length; i++) {
- // this.chartData.rows[i].閿�鍞 += 1000;
- // }
- // },1000)
+ this.$nextTick(_ => {
+ setTimeout(()=>{
+ this.$refs.ConsoleMEM.echarts.resize()
+ }, 100)
+ })
},
destroyed() {
},
--
Gitblit v1.8.0