From ec7f5ba1f7eb84507e1c8e7b6f66b1ecfbc22728 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 17 四月 2025 17:31:25 +0800
Subject: [PATCH] 线上监管

---
 pages/inspection/detail/chart-proxy.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pages/inspection/detail/chart-proxy.js b/pages/inspection/detail/chart-proxy.js
index 31393c0..2e07be9 100644
--- a/pages/inspection/detail/chart-proxy.js
+++ b/pages/inspection/detail/chart-proxy.js
@@ -120,7 +120,7 @@
         const index = xAxisMonth.findIndex(value => {
           return month == value;
         });
-        if (index) {
+        if (index != -1) {
           problems[index] += s.proNum;
           changes[index] += s.changeNum;
         }

--
Gitblit v1.9.3