This commit is contained in:
qsh
2024-07-01 12:08:00 +08:00
parent a33cbab7e3
commit 6a414d07df
9 changed files with 29 additions and 22 deletions

View File

@@ -320,7 +320,7 @@ let geoCoder = ref(null)
function initMap(data) {
AMapLoader.load({
key: '2ffb0e2ea90b1df0b8be48ed66e18fc8', //设置您的key
key: '713d839ff505943b0f18e6df45f3b0dc', //设置您的key
version: '2.0',
plugins: ['AMap.Geocoder', 'AMap.AutoComplete']
}).then((AMap) => {

View File

@@ -147,6 +147,8 @@ function getSkillList() {
})
}
const emit = defineEmits(['success'])
async function handleSave() {
// 校验表单
if (!formRef.value) return

View File

@@ -258,9 +258,11 @@ async function open(id) {
}
function followSuccess() {
ClueApi.getClue(id).then((data) => {
ClueApi.getClue(clueId.value).then((data) => {
info.value = { ...data, ...data.diyParams }
})
getFollowList()
emit('getList')
}
const placeList = ref([])
@@ -276,7 +278,7 @@ const defaultLatLng = ref({
function initMap(data) {
AMapLoader.load({
key: '2ffb0e2ea90b1df0b8be48ed66e18fc8', //设置您的key
key: '713d839ff505943b0f18e6df45f3b0dc', //设置您的key
version: '2.0'
}).then((AMap) => {
aMap.value = AMap