From 29fec98bf3428e17b99056687671d2e88c064ba1 Mon Sep 17 00:00:00 2001 From: guoapeng Date: Mon, 2 Jun 2025 22:10:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=B7=BB=E5=8A=A0=E6=BA=B6=E6=B6=B2?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/home/AddLiquid/index.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/home/AddLiquid/index.vue b/src/components/home/AddLiquid/index.vue index fc23519..22114c5 100644 --- a/src/components/home/AddLiquid/index.vue +++ b/src/components/home/AddLiquid/index.vue @@ -142,6 +142,10 @@ const checkChange = () => { form.value.tubeNum = activeTube.value.map((item, index) => index + 1).filter(item => activeTube.value[item - 1]) formRef.value.validateField('tubeNum') } + +const delHandle = (index: number) => { + addList.value.splice(index, 1) +}