修复地图切换地图变换

This commit is contained in:
aixianling
2023-10-24 18:17:56 +08:00
parent 1dd3a81607
commit 2546cadadd

View File

@@ -475,7 +475,8 @@ export default {
this.instance.post("/app/appintegralsupermarketshop/list", null, {params: {areaId, size: 9999}}).then(res => {
if (res?.data) {
initMap.then(() => {
this.$refs.map.handleReset()
this.map.clear()
this.$refs.map.init()
const {records} = res.data
this.map.on('click', e => {
console.log(e)