zhangzengfei
2020-10-13 c5a508ae17799a8f6687f2aea82536fa57f435b9
修复轮询周期计算
1个文件已修改
9 ■■■■ 已修改文件
src/pages/analysisPower/index/App.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/analysisPower/index/App.vue
@@ -228,7 +228,13 @@
        }
      })
      return sumPollingCamera * this.PollData.Config.poll_period
      // 所有轮询的摄像机总数 * 轮询时间 / 轮询算力 - 1
      let ret = (sumPollingCamera * this.PollData.Config.poll_period) / this.PollData.PollValidCount - 1
      if (String(ret).indexOf(".") > 0) {
        ret = ret.toFixed(1)
      }
      return ret
    }
  },
  data() {
@@ -516,7 +522,6 @@
      //float: left;
      padding-left: 30px;
      box-sizing: border-box;
    }
    .barGraph {
      width: 16%;