修改方法名

This commit is contained in:
xuhe@fangjia.com
2018-06-04 14:48:45 +08:00
parent f059742792
commit e47272cf0c
+3 -2
View File
@@ -1609,8 +1609,9 @@ function initNews(page){
dataObj = [] dataObj = []
$("#newsList").html(""); $("#newsList").html("");
} }
//合并数组 //合并数组
if(response.data.data.list.length == 0){ if(response.data.data.list.length < 6){
//隐藏加载框 //隐藏加载框
$('.infinite-scroll-preloader').hide(); $('.infinite-scroll-preloader').hide();
// 加载完毕,则注销无限加载事件,以防不必要的加载 // 加载完毕,则注销无限加载事件,以防不必要的加载
@@ -2768,7 +2769,7 @@ function getDistrictList(cityParam,latParam,lngParam,regionParam,order,minPrice,
$("#nearDistrictContainer").hide(); $("#nearDistrictContainer").hide();
latParam=0; latParam=0;
lngParam=0; lngParam=0;
axios.get("/rest/index/districtList", { axios.get("/rest/index/districtDetailList", {
params: { params: {
city: cityParam, city: cityParam,
lat:latParam, lat:latParam,