diff --git a/fangija-zsyf/js/searchDistrict-app.js b/fangija-zsyf/js/searchDistrict-app.js index 1dfd4c9..dab006f 100644 --- a/fangija-zsyf/js/searchDistrict-app.js +++ b/fangija-zsyf/js/searchDistrict-app.js @@ -160,16 +160,17 @@ function addHistory(){ historyVue.histories=histories; - }else{ + }/*else{ $(".historyList #districtList").empty(); - } + }*/ } //点击清空 $("#clearSearchHistory").click(function(){ //$.cookie('history',JSON.stringify([]) ,{ expires: 7}); localStorage.removeItem('history') - $("#districtList").empty(); - $.popup(".popup-about02") + historyVue.histories=[]; + //$("#districtList").empty(); + //$.popup(".popup-about02") });