From eaffc37ed2b11564a722aba0bec91e75d7924c2d Mon Sep 17 00:00:00 2001
From: he wei <858544502@qq.com>
Date: 星期五, 29 十二月 2023 15:00:06 +0800
Subject: [PATCH] U

---
 src/views/hrControl/components/cardBatt.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/hrControl/components/cardBatt.vue b/src/views/hrControl/components/cardBatt.vue
index 8f738e8..bad57bd 100644
--- a/src/views/hrControl/components/cardBatt.vue
+++ b/src/views/hrControl/components/cardBatt.vue
@@ -82,7 +82,7 @@
   },
   watch: {
     datas(n, o) {
-      if (o.length && !n.length) {
+      if (!o.length && n.length) {
         let { datas, option } = this;
         let monData = datas.filter((v) => v.monNum == option.monNum)[0];
         this.num = monData[option.key1];

--
Gitblit v1.9.1