From f0abd6228be29d119a8db85d49d93965d2f99a52 Mon Sep 17 00:00:00 2001 From: sige Date: Fri, 24 May 2024 23:03:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E6=B6=B2=E6=8E=92=E7=A9=BA=E7=AE=A1?= =?UTF-8?q?=E5=86=85=E6=B6=B2=E4=BD=93=E6=97=B6=E9=9C=80=E8=A6=81=E8=83=BD?= =?UTF-8?q?=E5=A4=9F=E6=9A=82=E5=81=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/LiquidHandle.vue | 98 +++++++++++++++++------------------------ 1 file changed, 40 insertions(+), 58 deletions(-) diff --git a/src/components/LiquidHandle.vue b/src/components/LiquidHandle.vue index 46180ad..0f2a70c 100644 --- a/src/components/LiquidHandle.vue +++ b/src/components/LiquidHandle.vue @@ -2,33 +2,11 @@

- - - - - - - - - - + +

- - - - + + + + + + + + + + + + + + + + + + + + + + + +
{ operatorStore.liquidAddtionVolume = parseInt(addLiquidVal.value); }); +// 停止加液 +async function actionAddStop() { + await webSocketStore.call('stopReplenishingFluids'); +} @@ -226,11 +212,7 @@ const startAdd = () => { } } -const stopAdd = () => { - if (operatorStore.replenishingFluidsWorkState == 1) { - webSocketStore.sendCommandMsg(stopReplenishingFluidsJSON) - } -} + const stopPop = () => { if (operatorStore.drainingWorkState == 1) {