Commit 8784ad0a868f70874221fd11135e79565c9f99ef

Authored by vking
1 parent dea7ab26

search page map

Showing 1 changed file with 4 additions and 0 deletions
@@ -177,12 +177,16 @@ Page({ @@ -177,12 +177,16 @@ Page({
177 }) 177 })
178 App.Customer.SellerLists(this.param).then(res=>{ 178 App.Customer.SellerLists(this.param).then(res=>{
179 this.setData({ 179 this.setData({
  180 + rsl:[],
180 hasMore:res.data.length==this.size, 181 hasMore:res.data.length==this.size,
181 markers:this.sellerFormat(res.data), 182 markers:this.sellerFormat(res.data),
182 hasDisabled:this.getHasDisabled(res.data.length>0,this.data.multiIndex[0]>0 || tags.length>0) 183 hasDisabled:this.getHasDisabled(res.data.length>0,this.data.multiIndex[0]>0 || tags.length>0)
183 }) 184 })
184 this.triggerEvent('event',{type:'getListEnd',total:res.data.length}) 185 this.triggerEvent('event',{type:'getListEnd',total:res.data.length})
185 this.hasGetSellerEnd=true 186 this.hasGetSellerEnd=true
  187 + if(res.data.length==0 && this.offset==1 && this.location){
  188 + this.onpos({detail:this.location})
  189 + }
186 }) 190 })
187 }, 191 },
188 /** 192 /**