feat: add closeOnPressEscape to ElMessageBox

This commit is contained in:
AhJindeg 2024-09-03 09:28:17 +08:00
parent 8362665f2b
commit f750e3b41b

View File

@ -211,6 +211,7 @@ const handleAuthorized = () => {
showCancelButton: false, showCancelButton: false,
closeOnClickModal: false, closeOnClickModal: false,
showClose: false, showClose: false,
closeOnPressEscape: false,
confirmButtonText: t('login.relogin'), confirmButtonText: t('login.relogin'),
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {