Merge branch 'YOUFANGAPP1.1' of 192.168.0.27:dev0/youfang-app into YOUFANGAPP1.1
Conflicts: fangija-zsyf/config.js
This commit is contained in:
@@ -24,11 +24,12 @@ Vue.component('near-dist-component', {
|
||||
return distDatas;
|
||||
},
|
||||
methods: {
|
||||
loadNearDistrict:function(lat, lng){
|
||||
loadNearDistrict:function(){
|
||||
axios.get("/rest/districts/nearDistrict", {
|
||||
params: {
|
||||
lat: lat,
|
||||
lng:lng
|
||||
city: city,
|
||||
region:region,
|
||||
name: name
|
||||
}
|
||||
}).then(function (response) {
|
||||
var datas = response.data.data
|
||||
@@ -58,7 +59,6 @@ Vue.component('near-dist-component', {
|
||||
}
|
||||
},
|
||||
mounted:function(){
|
||||
alert("lng-2:"+lng);
|
||||
this.loadNearDistrict(lat, lng);
|
||||
this.loadNearDistrict();
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user