1
0
فهرست منبع

fix:xml字符串前端显示问题

lhm 3 سال پیش
والد
کامیت
d51d142074
1فایلهای تغییر یافته به همراه8 افزوده شده و 2 حذف شده
  1. 8 2
      kmall-admin/src/main/webapp/js/haikong/haikongsendorderinforecord.js

+ 8 - 2
kmall-admin/src/main/webapp/js/haikong/haikongsendorderinforecord.js

@@ -33,7 +33,13 @@ $(function () {
 				}
 			},
 			{label: '发送支付原始请求', name: 'request', index: 'request', align: 'center', width: 100},
-			{label: '支付回调原始响应', name: 'response', index: 'response', align: 'center', width: 100},
+			{label: '支付回调原始响应', name: 'response', index: 'response', align: 'left', width: 100,
+				formatter: function (value) {
+					value = value.replace(/</g, '&lt;');
+					value = value.replace(/>/g, '&gt;');
+					return value;
+				}
+			},
 			{label: '支付平台流水号', name: 'outTradeNo', index: 'out_trade_no', align: 'center', width: 180},
 			{label: '口岸代码', name: 'seaportCode', index: 'seaport_code', align: 'center', width: 70},
 			{label: '跨境商品平台来源', name: 'seaportPlatform', index: 'seaport_platform', align: 'center', width: 120,
@@ -86,7 +92,7 @@ $(function () {
         gridComplete: function () {
 
         }
-    });
+	});
 });
 
 let vm = new Vue({