Parcourir la source

feat: ✨ add closeOnPressEscape to ElMessageBox

AhJindeg il y a 11 mois
Parent
commit
f750e3b41b
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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(() => {