The cross and gray in the upper right corner of the dialog pop-up window of Element-UI cannot close the pop-up window after it has been clicked.

ask boss, when I referenced element-ui before using dialog component in the project, it can be closed normally, then click * and blank space can not be closed, press ESC to close the dialog pop-up window, but I reference the second dialog component without any problem. I"ve been investigating for a long time. I don"t know why! The code is as follows:

excuse me:
1. Why can"t I close the pop-up window by clicking on the cross and gray layer?
wait online. I"m in a hurry. Thank you all.

Mar.22,2021

doesn't see anything wrong. Try restarting the service


look carefully at the dialog component of API,element. If you want to use X to shut down, you need to bind and undo it in the same way. Of course, if you want to click X to close and submit data or something, you can also bind and determine in the same way

.
Menu