# 优化
This commit is contained in:
parent
dd4da1e6f4
commit
5419a8f7d9
|
@ -11,6 +11,6 @@
|
|||
<!-- <script src=<%= htmlWebpackPlugin.options.path %>/tinymce4.7.5/tinymce.min.js></script> -->
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
<script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.8&key=49842c6fe4d24df80871faec2e272a00&plugin=AMap.Driving"></script>
|
||||
<script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.8&key=49842c6fe4d24df80871faec2e272a00"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -163,12 +163,7 @@ export default {
|
|||
if (this.coordinate === null) {
|
||||
this.coordinate = [113.203460828994, 22.64902452257]
|
||||
}
|
||||
const map = new AMap.Map('map-container', {
|
||||
// center: this.coordinate,
|
||||
center: [113.203460828994, 22.64902452257],
|
||||
resizeEnable: true,
|
||||
zoom: 13
|
||||
})
|
||||
const map = new AMap.Map('map-container')
|
||||
const drivingOptions = {
|
||||
map: map,
|
||||
// city: '中山市',
|
||||
|
|
Loading…
Reference in New Issue