When there is a pop-up box, you need to click somewhere other than the pop-up box to close it?

When there is a pop-up box, I need to close it in addition to clicking the pop-up box and the clicked button. Except for the bullet box and the button. In the if judgment, use the || operator to connect

Below is, click on the display of if, otherwise hide. Note that sw is a global variable

 

Guess you like

Origin www.cnblogs.com/snowbxb/p/12744632.html