| @@ -27,7 +27,9 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||||
| module.data.leader = data.data.leader; | module.data.leader = data.data.leader; | ||||
| var propertyDetailData = template('propertyDetailData', module.data); | var propertyDetailData = template('propertyDetailData', module.data); | ||||
| $("#propertyDetailContent").html(propertyDetailData); | $("#propertyDetailContent").html(propertyDetailData); | ||||
| initMap(data.data); | |||||
| setTimeout(() => { | |||||
| initMap(data.data); | |||||
| }, 500); | |||||
| } | } | ||||
| } | } | ||||
| @@ -25,7 +25,10 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||||
| module.data.leader = data.data.leader; | module.data.leader = data.data.leader; | ||||
| var propertyDetailData = template('propertyDetailData', module.data); | var propertyDetailData = template('propertyDetailData', module.data); | ||||
| $("#propertyDetailContent").html(propertyDetailData); | $("#propertyDetailContent").html(propertyDetailData); | ||||
| initMap(data.data); | |||||
| setTimeout(() => { | |||||
| initMap(data.data); | |||||
| }, 500); | |||||
| } | } | ||||
| } | } | ||||
| @@ -25,7 +25,9 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function | |||||
| module.data.leader = data.data.leader; | module.data.leader = data.data.leader; | ||||
| var propertyDetailData = template('propertyDetailData', module.data); | var propertyDetailData = template('propertyDetailData', module.data); | ||||
| $("#propertyDetailContent").html(propertyDetailData); | $("#propertyDetailContent").html(propertyDetailData); | ||||
| initMap(data.data); | |||||
| setTimeout(() => { | |||||
| initMap(data.data); | |||||
| }, 500); | |||||
| } | } | ||||
| } | } | ||||