修复地图切换地图变换
This commit is contained in:
@@ -475,7 +475,8 @@ export default {
|
|||||||
this.instance.post("/app/appintegralsupermarketshop/list", null, {params: {areaId, size: 9999}}).then(res => {
|
this.instance.post("/app/appintegralsupermarketshop/list", null, {params: {areaId, size: 9999}}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
initMap.then(() => {
|
initMap.then(() => {
|
||||||
this.$refs.map.handleReset()
|
this.map.clear()
|
||||||
|
this.$refs.map.init()
|
||||||
const {records} = res.data
|
const {records} = res.data
|
||||||
this.map.on('click', e => {
|
this.map.on('click', e => {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
|
|||||||
Reference in New Issue
Block a user