Commit a3938cfc authored by sujie@126.com's avatar sujie@126.com

dd

parent c87d531b
......@@ -1270,11 +1270,17 @@ Page({
//选中的休息日
selectDays(){
const days = getSelectedDay()[0];
const date = days.year+'/'+days.month+'/'+days.day;
this.getWeeksDay(new Date(date),this.data.riseDate);
this.setData({
calenderShow:false
})
if(days){
const date = days.year+'/'+days.month+'/'+days.day;
this.getWeeksDay(new Date(date),this.data.riseDate);
this.setData({
calenderShow:false
})
}else{
this.setData({
calenderShow:false
})
}
},
goRankList(){
wx.navigateTo({
......
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