|
@@ -3499,15 +3499,16 @@
|
|
|
|
|
|
let monthdate = new Date(sessionStorage.msg)
|
|
|
this.curDate = (monthdate.getMonth() + 1) + '月' + monthdate.getDate() + '日'
|
|
|
- console.log('choseday',sessionStorage.msg,this.choseDay,monthdate.getDate());
|
|
|
+
|
|
|
}else{
|
|
|
if(e && sessionStorage.msg){
|
|
|
}else{
|
|
|
sessionStorage.msg = this.date + '-01'
|
|
|
}
|
|
|
- this.choseDay = day - 1
|
|
|
let monthdate = new Date(sessionStorage.msg)
|
|
|
+ this.choseDay = monthdate.getDate() - 1
|
|
|
this.curDate = (monthdate.getMonth() + 1) + '月' + monthdate.getDate() + '日'
|
|
|
+ console.log('choseday',sessionStorage.msg,this.choseDay,monthdate.getDate());
|
|
|
}
|
|
|
}else{
|
|
|
this.choseDay = parseInt(sessionStorage.msg.split('-')[2]) - 1
|