修改方法名
This commit is contained in:
@@ -1609,8 +1609,9 @@ function initNews(page){
|
||||
dataObj = []
|
||||
$("#newsList").html("");
|
||||
}
|
||||
|
||||
//合并数组
|
||||
if(response.data.data.list.length == 0){
|
||||
if(response.data.data.list.length < 6){
|
||||
//隐藏加载框
|
||||
$('.infinite-scroll-preloader').hide();
|
||||
// 加载完毕,则注销无限加载事件,以防不必要的加载
|
||||
@@ -2768,7 +2769,7 @@ function getDistrictList(cityParam,latParam,lngParam,regionParam,order,minPrice,
|
||||
$("#nearDistrictContainer").hide();
|
||||
latParam=0;
|
||||
lngParam=0;
|
||||
axios.get("/rest/index/districtList", {
|
||||
axios.get("/rest/index/districtDetailList", {
|
||||
params: {
|
||||
city: cityParam,
|
||||
lat:latParam,
|
||||
|
||||
Reference in New Issue
Block a user