From 01883c7d5eca26efb7f844773cae50e5154b9f8b Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 20 八月 2024 15:30:06 +0800
Subject: [PATCH] #

---
 src/components/path.jsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/components/path.jsx b/src/components/path.jsx
index dc73bd5..da8259b 100644
--- a/src/components/path.jsx
+++ b/src/components/path.jsx
@@ -13,12 +13,12 @@
     REAL_COMPARE_MAP_OFFSET_Z,
 } from '../config/setting'
 
-const width = 20;
+const width = 200;
 
 const getMajorPos = (position) => {
     return {
         x: position?.[2] * REAL_COMPARE_MAP_SCALE + REAL_COMPARE_MAP_OFFSET_X,
-        y: position?.[1] * REAL_COMPARE_MAP_SCALE,
+        y: position?.[1] * REAL_COMPARE_MAP_SCALE + 10,
         z: position?.[0] * REAL_COMPARE_MAP_SCALE + REAL_COMPARE_MAP_OFFSET_Z,
     }
 }
@@ -45,7 +45,7 @@
     }, [points]);
 
     useEffect(() => {
-        console.log(JSON.stringify(props.list));
+        // console.log(JSON.stringify(props.list));
         //[{"code":"00000052","position":[4961,0,2420],"serial":6},{"code":"00000053","position":[5491,0,2420],"serial":7},{"code":"00000054","position":[6021,0,2420],"serial":8}]
     }, [props])
 

--
Gitblit v1.9.1