This commit is contained in:
qsh
2025-06-06 11:51:04 +08:00
parent b4a5c36fb0
commit 8f4da16e81
11 changed files with 600 additions and 21 deletions

View File

@@ -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) => {