From b23a2a35a14b010a3b97a1b61a02ec179dfab924 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期五, 04 九月 2020 17:25:14 +0800 Subject: [PATCH] feat: sort camera tree --- src/pages/cameraAccess/components/SystemInfo.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/pages/cameraAccess/components/SystemInfo.vue b/src/pages/cameraAccess/components/SystemInfo.vue index cdd0353..6fdbcfd 100644 --- a/src/pages/cameraAccess/components/SystemInfo.vue +++ b/src/pages/cameraAccess/components/SystemInfo.vue @@ -75,7 +75,7 @@ </li> </ul> </div>--> - <div class="eCharts-box" :style="`width:${liquidWidth}`"> + <div class="eCharts-box" :style="`width:${liquidWidth}`" v-if="PollData.barCharts.length>0"> <eChartsBar ref="cpuMeneryCharts" :xAxisData="PollData.barCharts"></eChartsBar> </div> </div> @@ -129,6 +129,10 @@ this.$forceUpdate(); } }, + mounted(){ + console.log(this.PollData.barCharts) + debugger; + } } </script> <style lang="scss"> -- Gitblit v1.8.0