Browse Source

!535 feat: ✨ add closeOnPressEscape to ElMessageBox
Merge pull request !535 from AhJindeg/hotfix/handleAuthorized

芋道源码 9 months ago
parent
commit
7ba29c97aa
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/config/axios/service.ts

+ 1 - 0
src/config/axios/service.ts

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