Code:
What needs to be answered: why the two judgment branches of the check method have to return, the author has tested it, if not return, when both are empty, only the date of birth cannot be detected, and the page will jump In the new interface, it is impossible to detect that the email cannot be empty. The question is the function of the return of the if branch and the return of onclick and their working principle. I am grateful for the answer.