Commit 9a3126f4 by xiexiaoqin

fix: backtotoday

parent f15357ea
......@@ -56,6 +56,7 @@ create.Page({
this.getPages(1);
//获取日程列表
this.getData();
this.isFirstLoad = true;
},
//动态列表侧滑的时候禁止页面上下滑动
setBodyDisableScroll(isStopBodyScroll) {
......@@ -608,5 +609,9 @@ create.Page({
if (tabbar == '1' && lastTimeTabBarIndex == tabbar) {
this.backToToday();
}
if (this.isFirstLoad) {
this.backToToday();
this.isFirstLoad = false;
}
}
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment