guarantee-lsq 2 yıl önce
ebeveyn
işleme
69afd60baf
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  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) {