预热时间(s)
{
}
const handleStart = () => {
- if ([1, 2].includes(operatorStore.disinfectStatus)) {
+ if ([1, 2, 3, 4].includes(operatorStore.disinfectStatus)) {
operatorStore.updateStopReady(true)
webSocketStore.sendCommandMsg(stopDisinfectionJSON)
props.hideDisinfectModal()
diff --git a/src/pages/Home.vue b/src/pages/Home.vue
index cce51a8..63923c1 100644
--- a/src/pages/Home.vue
+++ b/src/pages/Home.vue
@@ -31,7 +31,7 @@
activeTab == 2 ? 'tab_btn style-btn active_btn' : 'style-btn tab_btn'
"
@click="changeTab(2)"
- v-if="operatorStore.disinfectStatus != 1"
+ v-if="[0, 5].includes(operatorStore.disinfectStatus)"
>