!535 feat: add closeOnPressEscape to ElMessageBox

Merge pull request !535 from AhJindeg/hotfix/handleAuthorized
pull/545/head^2
芋道源码 2024-09-05 12:10:23 +00:00 committed by Gitee
commit 7ba29c97aa
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions

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(() => {