lxh há 10 meses atrás
pai
commit
35a92b7787

+ 1 - 2
src/views/vent/monitorManager/deviceMonitor/components/device/modal/blastDelta.vue

@@ -351,8 +351,7 @@ watch(() => props.posMonitor, (newV, oldV) => {
     maxY1.value = parseFloat(newV.coval) + parseFloat(newV.gasval) + parseFloat(newV.ch2val) + parseFloat(newV.chval)
     maxX1.value = parseFloat(newV.o2val)
    
-    // let btTriBlasts = JSON.parse(newV.btTriBlast)
-    let btTriBlasts ={"G_y":0.0,"G_x":0,"F_y":0,"A_x":0.0,"B_x":0.0,"A_y":20.98,"B_y":20.98,"E_y":0.0,"F_x":0.0,"E_x":0.0}
+    let btTriBlasts = JSON.parse(newV.btTriBlast)
     coordinateA.x = btTriBlasts.A_x
     coordinateA.y = btTriBlasts.A_y
     coordinateB.x = btTriBlasts.B_x