增加小区详情单击事件

This commit is contained in:
尹吉欢
2018-03-20 12:04:06 +08:00
parent bb3e0fbc39
commit 0d5317c0b4
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -3,6 +3,10 @@ var searchDistVue = new Vue({
el: '#searchList',
data: {
searchDistricts: []
},methods: {
openDistrictDetail:function(index) {
alert(this.searchDistricts[index].name)
}
}
})
$("#districtName").bind("input propertychange keyup" , function () {