Sfoglia il codice sorgente

修改色带最高值

Version1.0
YF-yuan 3 anni fa
parent
commit
d3a03e8d8a
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. +3
    -1
      src/views/Home.vue

+ 3
- 1
src/views/Home.vue Vedi File

@@ -122,7 +122,8 @@
<span>{{colorHL&&colorHL.value.low}}</span>
<span v-if="checkedParams=='tp'">单位:μg/L</span>
<span v-else>单位:mg/L</span>
<span v-if="checkedParams=='tp'">{{colorHL&&colorHL.value.high*1000}}</span>
<!-- <span v-if="checkedParams=='tp'">{{colorHL&&colorHL.value.high*200}}</span> -->
<span v-if="checkedParams=='tp'">500</span>
<span v-else>{{colorHL&&colorHL.value.high}}</span>
</p>
@@ -749,6 +750,7 @@ export default {
this.map.removeOverlay(this.overlayPlace);
if(properties.river) { // 表示为采样点数据
this.popupData = properties;
console.log(properties);
let coordinate = e.mapBrowserEvent.coordinate;
this.overlay.setPosition(coordinate);
this.overlay.setOffset([140, -10]);

Loading…
Annulla
Salva