浏览代码

网络运营商判断修改

wang_xy 1 年之前
父节点
当前提交
d80c14c219
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/views/monitor.vue

+ 3 - 3
src/views/monitor.vue

@@ -1223,9 +1223,9 @@ import {
                 '<span>' +
                 '                  <div class="d-l-con">' +
                 '                  <div class="d-l-l-text">' +
-                '                  <h4>网络运营商:' + (res.data[i].operatorType == "1" ? "联通" :
-                  (res.data[i].operatorType == "2" ? "移动":
-                    (res.data[i].operatorType == "3" ? "电信":  "无"))) + '</h4>' +
+                '                  <h4>网络运营商:' + (res.data.visuForestCloudCameraBOList[i].operatorType == "1" ? "联通" :
+                  (res.data.visuForestCloudCameraBOList[i].operatorType == "2" ? "移动":
+                    (res.data.visuForestCloudCameraBOList[i].operatorType == "3" ? "电信":  "无"))) + '</h4>' +
                 '                </div>' +
                 '                </div>' +
                 '                </span>' +