From f750e3b41b143ddc7695ae656333b5a0a41b5be4 Mon Sep 17 00:00:00 2001 From: AhJindeg Date: Tue, 3 Sep 2024 09:28:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=20add=20closeOnPressEscape=20?= =?UTF-8?q?to=20ElMessageBox?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/axios/service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config/axios/service.ts b/src/config/axios/service.ts index a2ec60f0..3df813f2 100644 --- a/src/config/axios/service.ts +++ b/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(() => {