From 7812feed230c1aeb411622f915c5e8a2a6792b09 Mon Sep 17 00:00:00 2001 From: maochaoying <925670706@qq.com> Date: Mon, 7 Aug 2023 17:06:25 +0800 Subject: [PATCH] log --- src/components/Operator.vue | 19 +++++++++++++++++-- src/components/dialogs/LogPicker.vue | 24 ++++++++++++++++++++---- 2 files changed, 37 insertions(+), 6 deletions(-) diff --git a/src/components/Operator.vue b/src/components/Operator.vue index ee2085f..2040cdd 100644 --- a/src/components/Operator.vue +++ b/src/components/Operator.vue @@ -27,7 +27,7 @@
-
12
+
{{ logVal }}
开始消毒
@@ -37,7 +37,11 @@
- + @@ -48,11 +52,22 @@ import DisinfectantLiquidInfo from 'cpns/info/DisinfectantLiquidInfo' import EnvironmentInfo from 'cpns/info/EnvironmentInfo' import { ref } from 'vue' +const logVisible = ref(false) +const logVal = ref(1) const roomSize = ref(0) +const changeLogVal = val => { + logVal.value = val + logVisible.value = false +} + const startDisinfect = () => { console.log('开始消毒') } + +const showLogPicker = () => { + logVisible.value = true +}