Commit 5885f7ff authored by liwenhong's avatar liwenhong

style:map

parent 93cbb806
......@@ -176,7 +176,7 @@ export default {
});
}
},
async created() {
async mounted() {
// 已载入高德地图API,则直接初始化地图
if (window.AMap && window.AMapUI) {
this.initMap();
......@@ -205,12 +205,12 @@ export default {
.mapContainer {
height: 100%;
width: 100%;
display: flex;
flex-direction: row;
// display: flex;
// flex-direction: column;
.mapWrapper {
position: relative;
width: 80%;
height: 100%;
height: 30vh;
.search {
position: absolute;
top: 10px;
......
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