This commit is contained in:
liuye
2021-12-22 15:04:08 +08:00
parent 93ac04461f
commit b5929bc0a7
4 changed files with 8 additions and 7 deletions

View File

@@ -9,7 +9,7 @@
</div>
</div>
<div class="map-content">
<AiTMap :areaId="areaId" :map.sync="map" :lib.sync="lib" :ops="ops" :libraries="['service', 'tools']"></AiTMap>
<AiTMap v-if="areaId" :areaId="areaId" :map.sync="map" :lib.sync="lib" :ops="ops" :libraries="['service', 'tools']"></AiTMap>
</div>
<u-popup v-model="show" mode="bottom" border-radius="14">
<div class="popup">
@@ -59,8 +59,8 @@ export default {
mounted() {
this.$dict.load('girdType', 'girdLevel')
this.areaId = this.user.areaId
this.initMap()
this.getTreeList()
this.map.setZoom(15)
},
methods: {