From 5efebb555efd984f3dd35de83e465cd53aaf8175 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 26 四月 2024 10:34:51 +0800
Subject: [PATCH] 完善左上角切换监测因子后,折线图联动切换功能

---
 underway.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/underway.js b/underway.js
index 212a7e9..8a13c2b 100644
--- a/underway.js
+++ b/underway.js
@@ -54,7 +54,7 @@
 
 function onCheckMap(obj) {
   var o = obj.value.split(',');
-  var factorType = parseInt(o[0]) - 1;
+  var factorType = parseInt(o[0]);
   mapController.setFactorType(factorType, this.factorMode, o[1]);
 }
 

--
Gitblit v1.9.3