guarantee-lsq hace 2 años
padre
commit
69afd60baf
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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) {