Commit 6b17151f by zhangzhen

细节优化

parent d508075d
......@@ -642,7 +642,7 @@
this.dateIntervalList.forEach((val,i)=>{
if(selectNum>this.duration){
return
} else if(val.status === 0 || (val.status ==1 && Number(moment(val.endHoldTime).format('mm'))<29)){
} else if(val.status === 0 || (val.status ==1 && Number(moment(val.endHoldTime).format('mm'))<20)){
selectNum+=1
if(t<0){
t = i
......@@ -1073,7 +1073,6 @@
}
}
})
if(n <= this.duration || (n >= this.duration && t>=24)){
uni.showToast({
icon:"none",
......@@ -1376,7 +1375,7 @@
this.dateIndex+=1;
}
}
if (val.status == 1 || val.status == 2) {
if ( val.endHoldTime ) {
let mTime = Number(moment(val.endHoldTime).format("mm"))
if (mTime >= 59) {
uni.showToast({
......
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