From 722f2f7ae73a265b6d01c65c75fdba1749f930ce Mon Sep 17 00:00:00 2001 From: guoapeng Date: Sun, 20 Apr 2025 17:22:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=BC=93=E5=86=B2?= =?UTF-8?q?=E6=B6=B2=E6=BB=91=E5=8A=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Index/Regular/Consumables.vue | 2 +- src/pages/Index/components/Consumables/DragAreaEx.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Index/Regular/Consumables.vue b/src/pages/Index/Regular/Consumables.vue index 9c4deda..9cdc35a 100644 --- a/src/pages/Index/Regular/Consumables.vue +++ b/src/pages/Index/Regular/Consumables.vue @@ -271,7 +271,7 @@ const updateLittleBottomNum = async ({ sync: boolean }) => { if (bottleNum < 0) { - return + bottleNum = 0 } if (deviceStore.deviceState.workState !== 'WORKING') { consumableStore.setDisableUpdateConsumableData(true) diff --git a/src/pages/Index/components/Consumables/DragAreaEx.vue b/src/pages/Index/components/Consumables/DragAreaEx.vue index 51db41c..98c6e6f 100644 --- a/src/pages/Index/components/Consumables/DragAreaEx.vue +++ b/src/pages/Index/components/Consumables/DragAreaEx.vue @@ -20,7 +20,7 @@