Skip to content

Commit 7ba29c9

Browse files
YunaiVgitee-org
authored andcommitted
!535 feat: ✨ add closeOnPressEscape to ElMessageBox
Merge pull request !535 from AhJindeg/hotfix/handleAuthorized
2 parents c4fda86 + f750e3b commit 7ba29c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/config/axios/service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ const handleAuthorized = () => {
211211
showCancelButton: false,
212212
closeOnClickModal: false,
213213
showClose: false,
214+
closeOnPressEscape: false,
214215
confirmButtonText: t('login.relogin'),
215216
type: 'warning'
216217
}).then(() => {

0 commit comments

Comments
 (0)