Judgment on the scope of time. Element UI in the case of editing

when I was creating the exam. The start time can be earlier or later than the current time, but if the start time is later than the end time, I should prompt "the start time cannot be later than the end time". If the start time is earlier than the current time, I should be prompted "the start time cannot be earlier than the current time". Please give me a judgment.


since you know the logic, why not write it yourself? this can circumvent dizziness, so you should exercise your logical thinking

Menu