From e300a151cc2832a54240d6155d22daf5b9ea5973 Mon Sep 17 00:00:00 2001 From: Hera Zhao Date: Mon, 13 Apr 2026 18:21:22 +0000 Subject: [PATCH] =?UTF-8?q?revert:=20=E4=B8=8D=E8=87=AA=E5=8A=A8=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=E6=A4=B0=E5=AD=90=E6=B2=B9=E6=BB=B4=E6=95=B0=EF=BC=8C?= =?UTF-8?q?=E4=BB=A5=E7=94=A8=E6=88=B7=E8=BE=93=E5=85=A5=E4=B8=BA=E5=87=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/views/RecipeManager.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/frontend/src/views/RecipeManager.vue b/frontend/src/views/RecipeManager.vue index 65f9205..1bf4969 100644 --- a/frontend/src/views/RecipeManager.vue +++ b/frontend/src/views/RecipeManager.vue @@ -456,14 +456,10 @@ const formDilution = ref(6) const formCocoRow = ref(null) -watch(() => formVolume.value, (vol, oldVol) => { +watch(() => formVolume.value, (vol) => { if (vol && !formCocoRow.value && parsedCurrentIndex.value < 0) { formCocoRow.value = { oil: '椰子油', drops: vol === 'single' ? 10 : 0, _search: '椰子油', _open: false } } - // Switching to single: reset coconut drops if they're too large (leftover from fill mode) - if (vol === 'single' && formCocoRow.value && formCocoRow.value.drops > 30) { - formCocoRow.value.drops = 10 - } }) // EO ingredients (everything except coconut)