Skip to content

Commit 3dbe56f

Browse files
【fix】影像服务 多次点击查询会出现多个页码 reviewed by luoxiao
1 parent 3f7deb0 commit 3dbe56f

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

examples/leaflet/imageService.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,7 @@ <h4 class="modal-title" id="myModalLabel"></h4>
764764
}
765765

766766
function query() {
767+
clearSearchResult();
767768
var postData = {};
768769
if (provinceId != -1) {
769770
postData.bbox = provinceBbox;

examples/mapboxgl/imageService.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,7 @@ <h4 class="modal-title" id="myModalLabel"></h4>
830830
return value;
831831
}
832832
function query() {
833+
clearSearchResult();
833834
var postData = {};
834835
if (provinceId != -1) {
835836
postData.bbox = provinceBbox;

examples/openlayers/imageService.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,7 @@ <h4 class="modal-title" id="myModalLabel"></h4>
942942
}
943943

944944
function query() {
945+
clearSearchResult();
945946
var postData = {};
946947
if (provinceId != -1) {
947948
postData['bbox'] = provinceBbox;

0 commit comments

Comments
 (0)