Commit ad80515e31db384392490c81456e340da1bec0f6

Authored by wangfan
1 parent 2f702978

快速预定

Showing 1 changed file with 2 additions and 2 deletions
@@ -267,7 +267,7 @@ Page({ @@ -267,7 +267,7 @@ Page({
267 bindscroll(e){ 267 bindscroll(e){
268 if(!this.getClassNameFlag) return; 268 if(!this.getClassNameFlag) return;
269 this.getClassNameFlag=false; 269 this.getClassNameFlag=false;
270 - console.log('this.scrollHeightList',this.scrollHeightList) 270 + //console.log('this.scrollHeightList',this.scrollHeightList)
271 let maxMX=9999999; 271 let maxMX=9999999;
272 let activeId=''; 272 let activeId='';
273 Object.keys(this.scrollHeightList).forEach(tid=>{ 273 Object.keys(this.scrollHeightList).forEach(tid=>{
@@ -279,7 +279,7 @@ Page({ @@ -279,7 +279,7 @@ Page({
279 } 279 }
280 } 280 }
281 }) 281 })
282 - if(activeId){ 282 + if(activeId && this.data.activeId!=activeId){
283 console.log(activeId, this.scrollHeightList[activeId].dataset.name) 283 console.log(activeId, this.scrollHeightList[activeId].dataset.name)
284 this.setData({ 284 this.setData({
285 activeId:activeId, 285 activeId:activeId,