vue of the el-dialog element close correlation properties

Maybe added to the el-dialog properties:

:close-on-press-escape="false" :close-on-click-modal="false"
Effect: the keyboard, press the Esc key or mouse click outside the dialog, dialog will not be closed.
 
 
PS:

Vue attribute the difference between whether a colon:

Colon, indicating that the latter is a variable or expression; colon is not behind a string literal corresponding!

In particular Boolean type of confusion. For example dialog above examples, a colon indicates that the following property is a Boolean, or simply string.

Guess you like

Origin www.cnblogs.com/lixianfu5005/p/11105302.html