From 264880703c677d63b7e35b5eb085e6bc3214e3ed Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 17 七月 2024 18:29:31 +0800
Subject: [PATCH] 2024.7.17

---
 src/utils/map/dialog.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/utils/map/dialog.js b/src/utils/map/dialog.js
index 3f0101e..900ac0c 100644
--- a/src/utils/map/dialog.js
+++ b/src/utils/map/dialog.js
@@ -33,7 +33,8 @@
       isCustom: true, //浣跨敤鑷畾涔夌獥浣�
       content: this.createWindowContent(m),
       // eslint-disable-next-line no-undef
-      offset: new AMap.Pixel(16, -45)
+      offset: new AMap.Pixel(16, -45),
+      autoMove: false
     });
     return m.window;
   },
@@ -104,7 +105,7 @@
         n = 0;
       }
       var v = f.factorData.toFixed(n);
-      var unit = factorUnit[f.factorName];
+      var unit = factorUnit[f.factorName].unit;
       if (f.factorName == 'CO') {
         unit = '渭g/m鲁';
       }

--
Gitblit v1.9.3