408249787 2 rokov pred
rodič
commit
958e017d83
1 zmenil súbory, kde vykonal 1 pridanie a 7 odobranie
  1. 1 7
      src/views/opc/Opc.vue

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

@@ -127,7 +127,7 @@ export default {
       if (params.id != null) {
         updateRemoteOpc(params).then(res => {
           console.log(res)
-          this.optDot.isActive = true
+          this.optDot = null
         })
       }
     },
@@ -140,7 +140,6 @@ export default {
       this.visibleRight = false
     },
     handleOpt (val) {
-      console.log(val)
       this.optDot = val
     },
     handleShow (val, key) {
@@ -164,11 +163,6 @@ export default {
         this.treeData = res.data
       })
     },
-    handleInfo (remoteOpc) {
-      if (remoteOpc.isActive) return
-      const model = this.$refs.baseChartInfo
-      model.base(remoteOpc)
-    },
     handleAdd () {
       const model = this.$refs.baseForm
       model.base({