sc
This commit is contained in:
@@ -82,7 +82,7 @@ async function initMap() {
|
||||
}
|
||||
defaultCity.value = cityInfo.locationName
|
||||
AMapLoader.load({
|
||||
key: '713d839ff505943b0f18e6df45f3b0dc', //设置您的key
|
||||
key: import.meta.env.VITE_AMAP_KEY, //设置您的key
|
||||
version: '2.0',
|
||||
plugins: ['AMap.AutoComplete']
|
||||
}).then((AMap) => {
|
||||
|
||||
Reference in New Issue
Block a user