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

dengliming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new b21df53c fix: use API response message for mock request errors (#659)
b21df53c is described below

commit b21df53c89463e8f1e10817ac35ddc15b8ec12c3
Author: He Dong <[email protected]>
AuthorDate: Thu Sep 24 20:10:03 2026 +0800

    fix: use API response message for mock request errors (#659)
---
 src/routes/Document/components/ApiDebug.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/routes/Document/components/ApiDebug.js 
b/src/routes/Document/components/ApiDebug.js
index c2a3b7af..8eb8ad25 100644
--- a/src/routes/Document/components/ApiDebug.js
+++ b/src/routes/Document/components/ApiDebug.js
@@ -193,7 +193,7 @@ const FCForm = forwardRef(({ form, onSubmit }, ref) => {
         };
         let rs = await createOrUpdateMockRequest(params);
         if (rs.code !== 200) {
-          message.error(rs.msg);
+          message.error(rs.message);
         } else {
           const {
             code,
@@ -215,7 +215,7 @@ const FCForm = forwardRef(({ form, onSubmit }, ref) => {
     if (initialValue.id) {
       let rs = await deleteMockRequest(initialValue.id);
       if (rs.code !== 200) {
-        message.error(rs.msg);
+        message.error(rs.message);
       } else {
         message.success(rs.message);
       }

Reply via email to