Ver código fonte

网络运营商判断修改

wang_xy 1 ano atrás
pai
commit
d80c14c219
1 arquivos alterados com 3 adições e 3 exclusões
  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>' +