From dc00095ab2a37a26a1edb11c19f625fb546016c1 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期二, 21 十月 2025 17:49:50 +0800
Subject: [PATCH] 调机开始按钮按下时回传的flag=-1
---
components/machine.vue | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/components/machine.vue b/components/machine.vue
index 9580669..70d4adb 100644
--- a/components/machine.vue
+++ b/components/machine.vue
@@ -86,11 +86,12 @@
},
methods: {
// 澶勭悊璋冩満寮�濮嬫寜閽偣鍑�
- handleMaStartTime() {
- if (!this.maStartTime) {
- this.setMaStartTime();
- }
- },
+ handleMaStartTime() {
+ if (!this.maStartTime) {
+ this.setMaStartTime();
+ this.flag = -1; // 璋冩満寮�濮嬫寜閽寜涓嬫椂鍥炰紶鐨刦lag=-1
+ }
+ },
// 澶勭悊閫佹鍛煎彨鎸夐挳鐐瑰嚮
handleMaShoutTime() {
if (!this.maShoutTime) {
@@ -157,7 +158,6 @@
case 1:
this.maShoutTime = this.$getDate('yyyy-mm-dd hh24:mi:ss');
this.flag = -1; // 閫佹鍛煎彨鏈夊�煎悗锛宖lag濮嬬粓涓�-1
- this.refresh(); // 鍒锋柊鐣岄潰
break;
case 2:
break;
--
Gitblit v1.9.3