diff --git a/src/views/geopoliticalCustomers/geopoliticalCustomersModal.vue b/src/views/geopoliticalCustomers/geopoliticalCustomersModal.vue index f8567d0..8472553 100644 --- a/src/views/geopoliticalCustomers/geopoliticalCustomersModal.vue +++ b/src/views/geopoliticalCustomers/geopoliticalCustomersModal.vue @@ -75,12 +75,6 @@ : { sm: { span: 24 }, md: { span: 19 } } " > - { //输入提示插件AMap.Autocomplete const autoComplete = ref() //POI搜索插件AMap.PlaceSearch -const placeSearch = ref() -//POI搜索插件AMap.PlaceSearch // const placeSearch = ref() //点标记AMap.Marker //创建的一个 Marker 实例 @@ -1104,13 +1096,6 @@ const initMap = () => { // city: '010' //城市设为北京,默认:“全国” // }) }) - // AMap.plugin('AMap.PlaceSearch', function () { - // // PlaceSearch - // const placeOptions = { - // map: map.value - // } - // placeSearch.value = new AMap.PlaceSearch(placeOptions) - // }) setTimeout(() => { autoComplete.value?.on('select', (e: any) => { const selectedTip = e.poi // 获取用户选择的提示结果对象