Skip to content

Commit f750e3b

Browse files
committed
feat: ✨ add closeOnPressEscape to ElMessageBox
1 parent 8362665 commit f750e3b

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)