From 96da92e9056c9c02e77867998424d623261daab0 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 25 七月 2024 15:09:32 +0800 Subject: [PATCH] 1. 添加地图罗盘的显隐 2. 修复数据表格中O3数据列实际显示NO2的值的问题 3. 优化风向的中文描述 --- 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