From e699ead6796962e300a2ca7140d4ab8beeb154f8 Mon Sep 17 00:00:00 2001 From: "xuhe@fangjia.com" Date: Tue, 20 Mar 2018 18:51:16 +0800 Subject: [PATCH] bug --- fangija-zsyf/js/searchDistrict-app.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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") });