guarantee-lsq 2 lat temu
rodzic
commit
69afd60baf
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      src/views/opc/Opc.vue

+ 3 - 1
src/views/opc/Opc.vue

@@ -131,7 +131,9 @@ export default {
   created () {
     this.positionId = this.$route.query.line
     this.setTree()
-    this.getOpcInfo()
+    if (this.positionId || this.positionId !== '') {
+      this.getOpcInfo()
+    }
   },
   methods: {
     resize (newRect) {