This commit is contained in:
Iruka 2024-12-13 14:24:58 +08:00
parent 5c08a56320
commit 1c780ceb02

View File

@ -228,9 +228,13 @@
openMapSearch(type) { //显示搜索界面
MapUtil.closeAllPainting();
$("#search-input").val("");
$("#search-input").off('blur')
if (type) {
$("#mapsearch").removeClass("hide").addClass("show");
$("#search-input").focus();
$("#search-input").on('blur',function(){
PageHandle.mapSearch();
});
} else {
$("#mapsearch").removeClass("show").addClass("hide");
}