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