From cd0c29ab6b71a2ce8cd6d7710effc74558944d4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=A2=A6=E8=BF=9C?= <1063331231@qq.com> Date: Thu, 10 Jul 2025 21:18:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B0=94=E8=B7=AF=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/home/HomeFormula.vue | 14 +++++++ src/views/home/index.vue | 76 ++++++++++++++++++++++++++++++++++++- 2 files changed, 89 insertions(+), 1 deletion(-) diff --git a/src/components/home/HomeFormula.vue b/src/components/home/HomeFormula.vue index 4e2c05c..b6cbee6 100644 --- a/src/components/home/HomeFormula.vue +++ b/src/components/home/HomeFormula.vue @@ -7,9 +7,15 @@ import { useFormulaStore } from '@/stores/formulaStore' const formulaStore = useFormulaStore() const homeStore = useHomeStore() +// const gasStore = useGasStore() const formulaInfo = ref() const rate = ref() const log = ref() +// const selectChannel = (channel: string, event: any) => { +// FtMessageBox.warning(`请确认打开${event.target.textContent}?`).then(() => { +// gasStore.selectChannel(channel) +// }) +// } watchEffect(async () => { if (['idle', 'finished'].includes(homeStore.disinfectionState.state)) { formulaInfo.value = formulaStore.selectedFormulaInfo @@ -59,6 +65,14 @@ watchEffect(async () => { }}Log + + + + + + + + diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 00d1711..108887c 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -1,10 +1,13 @@