From 0c5f7c66f34b02c07c3a1bf9832ef402fa26339d Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期一, 06 五月 2024 10:18:11 +0800
Subject: [PATCH] 未回零显示问题
---
CanadaMes-ui/src/views/Electrical/ServoManualone.vue | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/CanadaMes-ui/src/views/Electrical/ServoManualone.vue b/CanadaMes-ui/src/views/Electrical/ServoManualone.vue
index 3e7885e..0c6c68e 100644
--- a/CanadaMes-ui/src/views/Electrical/ServoManualone.vue
+++ b/CanadaMes-ui/src/views/Electrical/ServoManualone.vue
@@ -195,9 +195,9 @@
'error-button':
item.button.name === 'Fault' && item.button.value === 1,
'error-button2':
- item.button.name === 'NotZero' && item.button.value === 0,
+ item.button.name === 'NotZero' && item.button.value === 1,
'error-button3':
- item.button.name === 'Zero' && item.button.value === 1,
+ item.button.name === 'Zero' && item.button.value === 0,
fuwei:
item.button.name === 'Reset' && item.button.value === 1,
huiling:
@@ -238,9 +238,9 @@
'error-button':
item.button.name === '鏁呴殰' && item.button.value === 1,
'error-button3':
- item.button.name === '宸插洖闆�' && item.button.value === 1,
+ item.button.name === '宸插洖闆�' && item.button.value === 0,
'error-button2':
- item.button.name === '鏈洖闆�' && item.button.value === 0,
+ item.button.name === '鏈洖闆�' && item.button.value === 1,
fuwei: item.button.name === '澶嶄綅' && item.button.value === 1,
huiling:
item.button.name === '鍥為浂' && item.button.value === 1,
@@ -832,7 +832,7 @@
// console.log(jsonData2[5][4].button.value)
if (
- jsonData2[2][3].button.value === 1 &&
+ jsonData2[2][3].button.value === 0 &&
(jsonData2[2][3].button.name === "NotZero" ||
jsonData2[2][3].button.name === "鏈洖闆�")
) {
@@ -846,7 +846,7 @@
);
}
if (
- jsonData2[3][3].button.value === 1 &&
+ jsonData2[3][3].button.value === 0 &&
(jsonData2[3][3].button.name === "NotZero" ||
jsonData2[3][3].button.name === "鏈洖闆�")
) {
@@ -860,7 +860,7 @@
);
}
if (
- jsonData2[4][4].button.value === 1 &&
+ jsonData2[4][4].button.value === 0 &&
(jsonData2[4][4].button.name === "NotZero" ||
jsonData2[4][4].button.name === "鏈洖闆�")
) {
@@ -874,7 +874,7 @@
);
}
if (
- jsonData2[5][4].button.value === 1 &&
+ jsonData2[5][4].button.value === 0 &&
(jsonData2[5][4].button.name === "NotZero" ||
jsonData2[5][4].button.name === "鏈洖闆�")
) {
@@ -889,7 +889,7 @@
}
if (
- jsonData2[2][3].button.value === 0 &&
+ jsonData2[2][3].button.value === 1 &&
(jsonData2[2][3].button.name === "Zero" ||
jsonData2[2][3].button.name === "宸插洖闆�")
) {
@@ -903,7 +903,7 @@
);
}
if (
- jsonData2[3][3].button.value === 0 &&
+ jsonData2[3][3].button.value === 1 &&
(jsonData2[3][3].button.name === "Zero" ||
jsonData2[3][3].button.name === "宸插洖闆�")
) {
@@ -917,7 +917,7 @@
);
}
if (
- jsonData2[4][4].button.value === 0 &&
+ jsonData2[4][4].button.value === 1 &&
(jsonData2[4][4].button.name === "Zero" ||
jsonData2[4][4].button.name === "宸插洖闆�")
) {
@@ -931,7 +931,7 @@
);
}
if (
- jsonData2[5][4].button.value === 0 &&
+ jsonData2[5][4].button.value === 1 &&
(jsonData2[5][4].button.name === "Zero" ||
jsonData2[5][4].button.name === "宸插洖闆�")
) {
--
Gitblit v1.8.0