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³'; }