Преглед изворни кода

feat: ✨ add closeOnPressEscape to ElMessageBox

AhJindeg пре 11 месеци
родитељ
комит
f750e3b41b
1 измењених фајлова са 1 додато и 0 уклоњено
  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(() => {