Browse Source

问题修复

master
huxinglu 4 years ago
parent
commit
1f7fd58a05
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/views/problem/detailDialog.vue

+ 4
- 4
src/views/problem/detailDialog.vue View File

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

Loading…
Cancel
Save