Преглед на файлове

增添测试提示

(cherry picked from commit b3851016691cc06142e561427b883057bb35be04)
(cherry picked from commit 66a8947ca9552965b03b52abc4b70d7713c9737a)
liuchang преди 4 години
родител
ревизия
9196fa66e5
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      security-protection-platform/src/modules/system/monitor/VideoMonitor/index.vue

+ 2 - 2
security-protection-platform/src/modules/system/monitor/VideoMonitor/index.vue

@ -158,8 +158,8 @@
158 158
        let tempDataList = [];
159 159
        for (
160 160
          let i = 0; i < Math.ceil(this.areaMonitorList.length / this.currentType); i++
161
        ) {
162
          // 使用slice(start,end]进行截取,这个截取公式,可以自行研究
161
        ) {//this.currentType需要*this.currentType,测试减少一个组的数据
162
          
163 163
          tempDataList[i] = this.areaMonitorList.slice(
164 164
            i * this.currentType,
165 165
            (i + 1) * this.currentType