guarantee-lsq пре 2 година
родитељ
комит
69afd60baf
1 измењених фајлова са 3 додато и 1 уклоњено
  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) {