搜索小区bug

This commit is contained in:
xuhe@fangjia.com
2018-03-20 15:38:14 +08:00
parent db380a6abb
commit 91f685c585
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -5,6 +5,7 @@ var searchDistVue = new Vue({
searchDistricts: []
},methods: {
openDistrictDetail:function(index) {
saveHistory({district:this.searchDistricts[index].region,name:this.searchDistricts[index].name,city:this.searchDistricts[index].city})
clicked(BASE_PATH+'/district/details?city='+this.searchDistricts[index].city+'&region='+this.searchDistricts[index].region+'&name='+this.searchDistricts[index].name,true);
}
}
@@ -147,6 +148,10 @@ function addHistory(){
el: '#districtList',
data: {
histories: histories
},methods: {
openHistoryDetail:function(index) {
clicked(BASE_PATH+'/district/details?city='+this.histories[index].city+'&region='+this.histories[index].region+'&name='+this.histories[index].name,true);
}
}
})