获取店铺信息调整参数为visibleId
This commit is contained in:
@@ -463,7 +463,7 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getMapData(areaId) {
|
getMapData(visibleId) {
|
||||||
const initMap = new Promise(resolve => {
|
const initMap = new Promise(resolve => {
|
||||||
const load = (c = 0) => {
|
const load = (c = 0) => {
|
||||||
if (this.map) {
|
if (this.map) {
|
||||||
@@ -472,7 +472,7 @@ export default {
|
|||||||
}
|
}
|
||||||
load()
|
load()
|
||||||
})
|
})
|
||||||
this.instance.post("/app/appintegralsupermarketshop/list", null, {params: {areaId, size: 9999}}).then(res => {
|
this.instance.post("/app/appintegralsupermarketshop/list", null, {params: {visibleId, size: 9999}}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
initMap.then(() => {
|
initMap.then(() => {
|
||||||
this.map.clear()
|
this.map.clear()
|
||||||
|
|||||||
Reference in New Issue
Block a user