guarantee-lsq 1 year ago
parent
commit
d740135364
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/opc/OpcInfo.vue

+ 3 - 3
src/views/opc/OpcInfo.vue

@@ -374,7 +374,7 @@ export default {
     },
     getOpcInfoFromRedis (positionId) {
       this.positionId = positionId
-      /*queryRemoteOpcFromRedis({ line: this.positionId })
+      queryRemoteOpcFromRedis({ line: this.positionId })
         .then((res) => {
           this.dotList.forEach(item => {
             item.isActive = false
@@ -385,8 +385,8 @@ export default {
               }
             })
           })
-        })*/
-      // this.getImg()
+        })
+      this.getImg()
     },
     getImg () {
       fetchSbPosition({ id: this.positionId }).then(res => {