Commit e0008bc4 authored by baixian's avatar baixian

选点优化

parent 1e366773
......@@ -84,7 +84,6 @@ class SelectPlaceMap extends React.Component {
that.infoArray.forEach((ele) => {
ele.setMap(null);
});
console.log(res, 'res');
showLatlng = new qq.maps.LatLng(res.result.location.lat, res.result.location.lng);
let title = '';
if (res.result.address_component.province) {
......@@ -399,7 +398,7 @@ class SelectPlaceMap extends React.Component {
</Row>
<div className={pageStyles.mapbox}>
<span className={pageStyles.formitenname}>地图定位:</span>
<div className={pageStyles.mapcontainer} id="container" style={{ width: locationList.length > 0 ? '542px' : '795px', height: '400px' }}>地图加载中...</div>
<div className={pageStyles.mapcontainer} id="container" style={{ width: locationList.length > 0 ? '1170px' : '1170px', height: '500px' }}>地图加载中...</div>
{locationList.length > 0 &&
<div className={pageStyles.locationlistbox}>
{locationList.map((ele, index) => (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment