feat: 地图更换为一致的key
This commit is contained in:
parent
667edf5fde
commit
5ca72436bd
@ -21,7 +21,7 @@
|
|||||||
import icon from './icon/sxt.png'
|
import icon from './icon/sxt.png'
|
||||||
import icon2 from './icon/jk.png'
|
import icon2 from './icon/jk.png'
|
||||||
window._AMapSecurityConfig = {
|
window._AMapSecurityConfig = {
|
||||||
securityJsCode: "2933fa5683de5f95c0337aa5ff6a1174",
|
securityJsCode: "b6314ade5a42c3f3ac2284b6d4d89b1f",
|
||||||
};
|
};
|
||||||
export default {
|
export default {
|
||||||
name: "map-view",
|
name: "map-view",
|
||||||
@ -38,7 +38,7 @@
|
|||||||
methods:{
|
methods:{
|
||||||
initAMap(){
|
initAMap(){
|
||||||
AMapLoader.load({
|
AMapLoader.load({
|
||||||
key: "0324b5aea42065e5bbcde850eed8cbef", // 申请好的Web端开发者Key,首次调用 load 时必填
|
key: "e49669059fa36494531a82ed982f395c", // 申请好的Web端开发者Key,首次调用 load 时必填
|
||||||
plugins: [], // 需要使用的的插件列表,如比例尺'AMap.Scale'等
|
plugins: [], // 需要使用的的插件列表,如比例尺'AMap.Scale'等
|
||||||
})
|
})
|
||||||
.then((AMap) => {
|
.then((AMap) => {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
import AMapLoader from '@amap/amap-jsapi-loader';
|
import AMapLoader from '@amap/amap-jsapi-loader';
|
||||||
import icon from './icon/jb.png'
|
import icon from './icon/jb.png'
|
||||||
window._AMapSecurityConfig = {
|
window._AMapSecurityConfig = {
|
||||||
securityJsCode: "2933fa5683de5f95c0337aa5ff6a1174",
|
securityJsCode: "b6314ade5a42c3f3ac2284b6d4d89b1f",
|
||||||
};
|
};
|
||||||
export default {
|
export default {
|
||||||
name: "map-view",
|
name: "map-view",
|
||||||
@ -32,7 +32,7 @@
|
|||||||
methods:{
|
methods:{
|
||||||
initAMap(){
|
initAMap(){
|
||||||
AMapLoader.load({
|
AMapLoader.load({
|
||||||
key: "0324b5aea42065e5bbcde850eed8cbef", // 申请好的Web端开发者Key,首次调用 load 时必填
|
key: "e49669059fa36494531a82ed982f395c", // 申请好的Web端开发者Key,首次调用 load 时必填
|
||||||
plugins: [], // 需要使用的的插件列表,如比例尺'AMap.Scale'等
|
plugins: [], // 需要使用的的插件列表,如比例尺'AMap.Scale'等
|
||||||
})
|
})
|
||||||
.then((AMap) => {
|
.then((AMap) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user