bug
This commit is contained in:
@@ -439,7 +439,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
console.log(res)
|
|
||||||
this.buildList = res.data.records
|
this.buildList = res.data.records
|
||||||
const points = res.data.records.map(item => {
|
const points = res.data.records.map(item => {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
initMap() {
|
initMap() {
|
||||||
return new Promise(resolve => AMapLoader.load({
|
return new Promise(resolve => AMapLoader.load({
|
||||||
key: "b553334ba34f7ac3cd09df9bc8b539dc",
|
key: "54a02a43d9828a8f9cd4f26fe281e74e",
|
||||||
version: '2.0',
|
version: '2.0',
|
||||||
plugins: ['AMap.Marker', 'AMap.PlaceSearch'],
|
plugins: ['AMap.Marker', 'AMap.PlaceSearch'],
|
||||||
}).then(AMap => {
|
}).then(AMap => {
|
||||||
|
|||||||
Reference in New Issue
Block a user