Since it was the first time I came into contact with easy UI, I was not very familiar with it. I tried the dialog box function, but the problem was that after the page is loaded, all the dialogs will pop up automatically, baidu has not been specific for a long time. It seems that no one else has this problem.
The following is an official example of easy UI (the dialog box is automatically displayed after the page is loaded)
<!DOCTYPE html>
The following is the dialog attribute described in the easy UI official document (but there is no information about the status)
However, in this example, a closed attribute is added.
So I added this attribute in my sample code.
<!DOCTYPE html>
After solving the problem we encountered, we found that the originally closed attribute was defined in the window, and the dialog is an extension of the window, which naturally contains this attribute.
The properties extend from window, below is the overridden properties for dialog.
Problems for beginners: the easy UI Dialog Box always pops up automatically after the page is loaded.