From 0aed9c9ee65bd8a17837d83ec05e756d11fab297 Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期二, 21 四月 2026 15:29:48 +0800
Subject: [PATCH] Merge branch 'dev' of http://115.159.85.185:8098/r/SuZhouGuanHong/ShanMeiXinNengYuan into dev
---
Code/WMS/WIDESEA_WMSClient/src/extension/system/Mes_Log.jsx | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSClient/src/extension/system/Mes_Log.jsx b/Code/WMS/WIDESEA_WMSClient/src/extension/system/Mes_Log.jsx
index 560c165..71c12a9 100644
--- a/Code/WMS/WIDESEA_WMSClient/src/extension/system/Mes_Log.jsx
+++ b/Code/WMS/WIDESEA_WMSClient/src/extension/system/Mes_Log.jsx
@@ -48,13 +48,15 @@
this.showJsonDetail(row, 'request');
} else if (column.property === 'responseJson' && row.responseJson) {
this.showJsonDetail(row, 'response');
+ } else if (column.property === 'errorMessage' && row.errorMessage) {
+ this.showJsonDetail(row, 'errorMessage');
}
},
// 鏄剧ず JSON 璇︽儏鎶藉眽
showJsonDetail(row, type = 'request') {
- const jsonContent = type === 'request' ? row.requestJson : row.responseJson;
- const title = type === 'request' ? '馃搵 璇锋眰 JSON' : '馃摜 鍝嶅簲 JSON';
+ const jsonContent = type === 'request' ? row.requestJson : type === 'response' ? row.responseJson : row.errorMessage;
+ const title = type === 'request' ? '馃搵 璇锋眰 JSON' : type === 'response' ? '馃搵 璇锋眰 JSON': '馃摜 閿欒娑堟伅';
// 瑙f瀽 JSON 瀵硅薄锛岃В鏋愬け璐ュ垯淇濈暀鍘熷瀛楃涓�
let jsonData;
--
Gitblit v1.9.3