@@ -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) {