huxinglu 4 лет назад
Родитель
Сommit
1f7fd58a05
1 измененных файлов: 4 добавлений и 4 удалений
  1. +4
    -4
      src/views/problem/detailDialog.vue

+ 4
- 4
src/views/problem/detailDialog.vue Просмотреть файл

@@ -48,7 +48,7 @@
</div>
<div class="dialog-item">
<div>拍摄时间:</div>
<div>{{childData.inspectTime}}</div>
<div><span v-if="childData.inspectTime">{{childData.inspectTime.split(' ')[0]}}</span></div>
</div>
<div class="dialog-item">
<div>问题位置:</div>
@@ -119,10 +119,10 @@ export default {
});
this.map.setCity("南京市");
this.map.on("complete", function() {
if (me.childData.latitude && me.childData.longitude) {
if (me.childData.gaodeLatitude && me.childData.gaodeLongitude) {
let point = new AMap.LngLat(
me.childData.longitude,
me.childData.latitude
me.childData.gaodeLongitude,
me.childData.gaodeLatitude
);
let icon = new AMap.Icon({
// 图标尺寸

Загрузка…
Отмена
Сохранить