Add IF...ELSE to the login button event callback function to determine not to display the prompt box
上善若水2018-04-25 20:24:02
0
2
1135
This code does not add IF... ELSE to judge that everything is normal, and the dialog box can pop up. Once the judgment is added, the dialog box will not pop up. What's going on?
Well, that’s it.
OK, solve it yourself. The reason is that there are no spaces before the comment in the else clause, or simply wrap the comment