|
@@ -163,7 +163,8 @@ const initMap = async () => {
|
|
|
input: 'searchInput',
|
|
input: 'searchInput',
|
|
|
placeSearchOptions: {
|
|
placeSearchOptions: {
|
|
|
map: map,
|
|
map: map,
|
|
|
- pageSize: 7
|
|
|
|
|
|
|
+ pageSize: 7,
|
|
|
|
|
+ pageIndex: 1,
|
|
|
},
|
|
},
|
|
|
searchResultsContainer: 'searchResults'
|
|
searchResultsContainer: 'searchResults'
|
|
|
});
|
|
});
|
|
@@ -333,6 +334,7 @@ const debouncedSearch = (inputValue: string, searchType: string) => {
|
|
|
console.log(22222)
|
|
console.log(22222)
|
|
|
// 地址搜索,保持原有逻辑
|
|
// 地址搜索,保持原有逻辑
|
|
|
if (poiPicker) {
|
|
if (poiPicker) {
|
|
|
|
|
+ poiPicker.placeSearch.opt.pageIndex = 1;
|
|
|
poiPicker.searchByKeyword(inputValue)
|
|
poiPicker.searchByKeyword(inputValue)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|