From 994e5e08cba4e6b9ce321b7cf5cb1ec8d19dfa22 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期二, 12 四月 2022 17:50:21 +0800 Subject: [PATCH] 摄像机管理 --- src/components/subComponents/SystemInfo.vue | 13 +++++-------- 1 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/components/subComponents/SystemInfo.vue b/src/components/subComponents/SystemInfo.vue index caf8c84..8863800 100644 --- a/src/components/subComponents/SystemInfo.vue +++ b/src/components/subComponents/SystemInfo.vue @@ -1,13 +1,10 @@ <template> - <div - class="chart" - v-if="PollData.barCharts && PollData.barCharts.length !== 0" - > + <div class="chart" v-if="PollData.barCharts"> <!-- 鍐呭瓨杩涘害鏉� --> <div class="row"> <div class="label">鍐呭瓨</div> <el-progress - :percentage="PollData.barCharts[3]" + :percentage="+PollData.barCharts[3]" :stroke-width="stroke" :show-text="false" ></el-progress> @@ -17,7 +14,7 @@ <div class="row"> <div class="label">绠楀姏</div> <el-progress - :percentage="PollData.barCharts[2]" + :percentage="+PollData.barCharts[2]" :stroke-width="stroke" :show-text="false" ></el-progress> @@ -27,7 +24,7 @@ <div class="row"> <div class="label">CPU</div> <el-progress - :percentage="PollData.barCharts[1]" + :percentage="+PollData.barCharts[1]" :stroke-width="stroke" :show-text="false" ></el-progress> @@ -37,7 +34,7 @@ <div class="row"> <div class="label">纭洏</div> <el-progress - :percentage="PollData.barCharts[0]" + :percentage="+PollData.barCharts[0]" :stroke-width="stroke" :show-text="false" ></el-progress> -- Gitblit v1.8.0