Commit 29df39f8 authored by qinhaitao's avatar qinhaitao

fix: 🐛 bug

parent 15c80a56
...@@ -93,7 +93,7 @@ Component({ ...@@ -93,7 +93,7 @@ Component({
} }
let timeHasSame = new Date(endTime).getTime() === new Date(startTime).getTime() let timeHasSame = new Date(endTime).getTime() === new Date(startTime).getTime()
let timeIsCantChoose = new Date().getTime() > new Date(startTime).getTime() let timeIsCantChoose = new Date().getTime() > new Date(startTime).getTime()
let timeBeginError = new Date().getTime(startTime) > new Date(endTime).getTime(); let timeBeginError = new Date(startTime).getTime() > new Date(endTime).getTime();
if (timeHasSame || timeIsCantChoose || timeBeginError) { if (timeHasSame || timeIsCantChoose || timeBeginError) {
let errTips = ''; let errTips = '';
......
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