This is an automated email from the ASF dual-hosted git repository.

shuai pushed a commit to branch feat/1.2.1/ui
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git

commit 89e918ba97ef6465dcc829a08f71ee29f91f13b8
Author: shuai <[email protected]>
AuthorDate: Mon Nov 13 17:41:48 2023 +0800

    fix: default pop-up box displays the cancel button
---
 ui/src/utils/request.ts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ui/src/utils/request.ts b/ui/src/utils/request.ts
index c2c4b587..31a22019 100644
--- a/ui/src/utils/request.ts
+++ b/ui/src/utils/request.ts
@@ -136,8 +136,7 @@ class Request {
             // default error msg will show modal
             Modal.confirm({
               content: msg,
-              showCancel: false,
-              confirmText: 'OK',
+              showConfirm: false,
             });
             return Promise.reject(false);
           }

Reply via email to