|
|
@@ -126,6 +126,7 @@
|
|
|
:min-zoom="12"
|
|
|
@ready="handler"
|
|
|
@reload="reload"
|
|
|
+ :key="baiduMapKey"
|
|
|
ref="myMap">
|
|
|
<!-- :minClusterSize="minClusterSize"-->
|
|
|
<bml-marker-clusterer :averageCenter="false" :styles="styless">
|
|
|
@@ -801,6 +802,7 @@ export default {
|
|
|
listpoint: [],
|
|
|
heifhgts: '200px',
|
|
|
mapRange: [], //地图范围
|
|
|
+ baiduMapKey: new Date().getTime(),
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
@@ -816,6 +818,7 @@ export default {
|
|
|
},
|
|
|
activated() {
|
|
|
this.listData = [];
|
|
|
+ this.baiduMapKey = new Date().getTime();
|
|
|
this.closeFn();
|
|
|
// 获取地图范围 字典
|
|
|
this.getMapRange();
|
|
|
@@ -846,10 +849,7 @@ export default {
|
|
|
this.getMonth();
|
|
|
this.getStoreTypeList();
|
|
|
this.getStoreLabels();
|
|
|
- this.$nextTick(() => {
|
|
|
- // this.onClickLeft1();
|
|
|
- this.getposition();
|
|
|
- });
|
|
|
+ this.getposition();
|
|
|
},
|
|
|
methods: {
|
|
|
setStroeNameStyle(item) {
|