This commit is contained in:
yanran200730
2022-10-10 18:04:28 +08:00
parent 77bd0c256f
commit b03ba3b988
2 changed files with 1 additions and 2 deletions

View File

@@ -439,7 +439,6 @@ export default {
}
}).then(res => {
if (res.code === 0) {
console.log(res)
this.buildList = res.data.records
const points = res.data.records.map(item => {
return {

View File

@@ -54,7 +54,7 @@ export default {
methods: {
initMap() {
return new Promise(resolve => AMapLoader.load({
key: "b553334ba34f7ac3cd09df9bc8b539dc",
key: "54a02a43d9828a8f9cd4f26fe281e74e",
version: '2.0',
plugins: ['AMap.Marker', 'AMap.PlaceSearch'],
}).then(AMap => {