Commit 9cb0fd27 by zhangzhen

细节优化

parent 360d35cd
...@@ -393,12 +393,10 @@ ...@@ -393,12 +393,10 @@
console.log("节点1") console.log("节点1")
}else{ }else{
if( startDateStemp > moment(item.startHoldTime).valueOf() && startDateStemp < moment(item.endHoldTime).valueOf()){ if( startDateStemp >= moment(item.startHoldTime).valueOf() && startDateStemp < moment(item.endHoldTime).valueOf()){
continueStatus = false; continueStatus = false;
console.log("节点2") console.log("节点2")
} }else if( endDateStemp >= moment(item.startHoldTime).valueOf()){
if( endDateStemp >= moment(item.startHoldTime).valueOf() && endDateStemp <= moment(item.endHoldTime).valueOf()){
continueStatus = false; continueStatus = false;
console.log("节点3") console.log("节点3")
} }
......
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