bug
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
var xhr;
|
||||
var searchDistVue = new Vue({
|
||||
el: '#searchList',
|
||||
data: {
|
||||
searchDistricts: []
|
||||
},methods: {
|
||||
openDistrictDetail:function(index) {
|
||||
alert(this.searchDistricts[index].name)
|
||||
}
|
||||
}
|
||||
})
|
||||
el: '#searchList',
|
||||
data: {
|
||||
searchDistricts: []
|
||||
},methods: {
|
||||
openDistrictDetail:function(index) {
|
||||
clicked(BASE_PATH+'/district/details?city='+this.searchDistricts[index].city+'®ion='+this.searchDistricts[index].region+'&name='+this.searchDistricts[index].name,true);
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
$("#districtName").bind("input propertychange keyup" , function () {
|
||||
var keyword = $(this).val()
|
||||
if(xhr){
|
||||
|
||||
Reference in New Issue
Block a user