search

Home  >  Q&A  >  body text

Add IF...ELSE to the login button event callback function to determine not to display the prompt box

1.jpg

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?

上善若水上善若水2456 days ago1150

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2018-04-26 14:36:26

    Well, that’s it.

    reply
    0
  • 上善若水

    上善若水2018-04-25 20:35:16

    OK, solve it yourself. The reason is that there are no spaces before the comment in the else clause, or simply wrap the comment

    reply
    0
  • Cancelreply