|
|
|
@ -66,9 +66,7 @@ export default {
|
|
|
|
|
onMounted(() => { |
|
|
|
|
details.ids = router.currentRoute.value.query.id; |
|
|
|
|
initMap(router.currentRoute.value.query.id); |
|
|
|
|
setTimeout(() => { |
|
|
|
|
init(); |
|
|
|
|
}, 1500); |
|
|
|
|
init(); |
|
|
|
|
// setTimeout(()=>{ |
|
|
|
|
// details.mapLoc.clearOverlays(); |
|
|
|
|
|
|
|
|
@ -80,6 +78,7 @@ export default {
|
|
|
|
|
console.log('watch 已触发', newValue); |
|
|
|
|
if (details.mapLoc) { |
|
|
|
|
details.mapLoc.remove(details.markersarr); |
|
|
|
|
details.markersarr=[] |
|
|
|
|
} |
|
|
|
|
details.reservationIds.map((item, index) => { |
|
|
|
|
details.reservationData.map(ite => { |
|
|
|
|