bug
This commit is contained in:
@@ -1,14 +1,15 @@
|
|||||||
var xhr;
|
var xhr;
|
||||||
var searchDistVue = new Vue({
|
var searchDistVue = new Vue({
|
||||||
el: '#searchList',
|
el: '#searchList',
|
||||||
data: {
|
data: {
|
||||||
searchDistricts: []
|
searchDistricts: []
|
||||||
},methods: {
|
},methods: {
|
||||||
openDistrictDetail:function(index) {
|
openDistrictDetail:function(index) {
|
||||||
alert(this.searchDistricts[index].name)
|
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 () {
|
$("#districtName").bind("input propertychange keyup" , function () {
|
||||||
var keyword = $(this).val()
|
var keyword = $(this).val()
|
||||||
if(xhr){
|
if(xhr){
|
||||||
|
|||||||
Reference in New Issue
Block a user