请问下各位大佬我在antV按照教程引入高德地图,地图可以显示,但是会报一个错,请问这个错是什么含义呢
<template>
<div id="app">
<div style="justify-content: center; position: relative" id="mapdd" />
</div>
</template>
<script>
import { Scene } from '@antv/l7'
import { GaodeMap } from '@antv/l7-maps'
export default {
mounted () {
this.drawChart()
},
data () {
return {
scene: null
}
},
methods: {
drawChart () {
const scene = new Scene({
id: 'mapdd',
map: new GaodeMap({
style: 'dark',
center: [110.770672, 34.159869],
token: '102023fe3abc69389739f9ccb99b3178d'
})
})
scene.on('loaded', () => {
console.log('123')
})
}
}
}
</script>
<style>
#mapdd {
height: 100%;
width: 100%;
}
</style>
重复引用amap的原因