diff --git a/public/css/iconfont.css b/public/css/iconfont.css index caf053b94..cb32b1a9f 100644 --- a/public/css/iconfont.css +++ b/public/css/iconfont.css @@ -1,8 +1,8 @@ @font-face { font-family: "iconfont"; /* Project id 2340181 */ - src: url('iconfont.woff2?t=1627378753360') format('woff2'), - url('iconfont.woff?t=1627378753360') format('woff'), - url('iconfont.ttf?t=1627378753360') format('truetype'); + src: url('iconfont.woff2?t=1627870211301') format('woff2'), + url('iconfont.woff?t=1627870211301') format('woff'), + url('iconfont.ttf?t=1627870211301') format('truetype'); } .iconfont { @@ -13,6 +13,14 @@ -moz-osx-font-smoothing: grayscale; } +.icon-qingqiuicon:before { + content: "\e871"; +} + +.icon-xiangyingicon:before { + content: "\e87c"; +} + .icon-duoxuanxuanzhong:before { content: "\e88f"; } @@ -21,10 +29,6 @@ content: "\e890"; } -.icon-daochu_xuanfu1:before { - content: "\e891"; -} - .icon-chenggongicon:before { content: "\e892"; } @@ -53,14 +57,6 @@ content: "\e89b"; } -.icon-xuanzhong3:before { - content: "\e89e"; -} - -.icon-xuanzechenggongicon:before { - content: "\e89f"; -} - .icon-xiezuozheguanliicon:before { content: "\e8a1"; } @@ -73,10 +69,6 @@ content: "\e8a3"; } -.icon-bg:before { - content: "\e8a4"; -} - .icon-xuanzhongjibenshezhiicon:before { content: "\e8a5"; } @@ -121,10 +113,6 @@ content: "\e870"; } -.icon-fuceng:before { - content: "\e871"; -} - .icon-cuowu:before { content: "\e872"; } diff --git a/public/css/iconfont.js b/public/css/iconfont.js index ce56b8293..55eeef19b 100644 --- a/public/css/iconfont.js +++ b/public/css/iconfont.js @@ -1 +1 @@ -!function(c){var l,a,h,i,o,z,t='',p=(p=document.getElementsByTagName("script"))[p.length-1].getAttribute("data-injectcss");if(p&&!c.__iconfont__svg__cssinject__){c.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}function v(){o||(o=!0,h())}l=function(){var c,l,a;(a=document.createElement("div")).innerHTML=t,t=null,(l=a.getElementsByTagName("svg")[0])&&(l.setAttribute("aria-hidden","true"),l.style.position="absolute",l.style.width=0,l.style.height=0,l.style.overflow="hidden",c=l,(a=document.body).firstChild?(l=a.firstChild).parentNode.insertBefore(c,l):a.appendChild(c))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(l,0):(a=function(){document.removeEventListener("DOMContentLoaded",a,!1),l()},document.addEventListener("DOMContentLoaded",a,!1)):document.attachEvent&&(h=l,i=c.document,o=!1,(z=function(){try{i.documentElement.doScroll("left")}catch(c){return void setTimeout(z,50)}v()})(),i.onreadystatechange=function(){"complete"==i.readyState&&(i.onreadystatechange=null,v())})}(window); \ No newline at end of file +!function(c){var l,a,h,i,o,z='',t=(t=document.getElementsByTagName("script"))[t.length-1].getAttribute("data-injectcss"),p=function(c,l){l.parentNode.insertBefore(c,l)};if(t&&!c.__iconfont__svg__cssinject__){c.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}function v(){o||(o=!0,h())}function m(){try{i.documentElement.doScroll("left")}catch(c){return void setTimeout(m,50)}v()}l=function(){var c,l;(l=document.createElement("div")).innerHTML=z,z=null,(c=l.getElementsByTagName("svg")[0])&&(c.setAttribute("aria-hidden","true"),c.style.position="absolute",c.style.width=0,c.style.height=0,c.style.overflow="hidden",l=c,(c=document.body).firstChild?p(l,c.firstChild):c.appendChild(l))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(l,0):(a=function(){document.removeEventListener("DOMContentLoaded",a,!1),l()},document.addEventListener("DOMContentLoaded",a,!1)):document.attachEvent&&(h=l,i=c.document,o=!1,m(),i.onreadystatechange=function(){"complete"==i.readyState&&(i.onreadystatechange=null,v())})}(window); \ No newline at end of file diff --git a/public/css/iconfont.json b/public/css/iconfont.json index 1ccafde67..2342c7975 100644 --- a/public/css/iconfont.json +++ b/public/css/iconfont.json @@ -5,6 +5,20 @@ "css_prefix_text": "icon-", "description": "", "glyphs": [ + { + "icon_id": "23261798", + "name": "请求icon", + "font_class": "qingqiuicon", + "unicode": "e871", + "unicode_decimal": 59505 + }, + { + "icon_id": "23261799", + "name": "响应icon", + "font_class": "xiangyingicon", + "unicode": "e87c", + "unicode_decimal": 59516 + }, { "icon_id": "23144143", "name": "多选选中", @@ -19,13 +33,6 @@ "unicode": "e890", "unicode_decimal": 59536 }, - { - "icon_id": "23144145", - "name": "导出_悬浮", - "font_class": "daochu_xuanfu1", - "unicode": "e891", - "unicode_decimal": 59537 - }, { "icon_id": "23144146", "name": "成功icon", @@ -75,20 +82,6 @@ "unicode": "e89b", "unicode_decimal": 59547 }, - { - "icon_id": "23144156", - "name": "选中", - "font_class": "xuanzhong3", - "unicode": "e89e", - "unicode_decimal": 59550 - }, - { - "icon_id": "23144157", - "name": "选择成功icon", - "font_class": "xuanzechenggongicon", - "unicode": "e89f", - "unicode_decimal": 59551 - }, { "icon_id": "23144158", "name": "协作者管理icon", @@ -110,13 +103,6 @@ "unicode": "e8a3", "unicode_decimal": 59555 }, - { - "icon_id": "23144161", - "name": "bg", - "font_class": "bg", - "unicode": "e8a4", - "unicode_decimal": 59556 - }, { "icon_id": "23144162", "name": "选中基本设置icon", @@ -194,13 +180,6 @@ "unicode": "e870", "unicode_decimal": 59504 }, - { - "icon_id": "23046249", - "name": "复层", - "font_class": "fuceng", - "unicode": "e871", - "unicode_decimal": 59505 - }, { "icon_id": "23046252", "name": "错误", diff --git a/public/css/iconfont.ttf b/public/css/iconfont.ttf index fd977e5ac..5e5ec5c63 100644 Binary files a/public/css/iconfont.ttf and b/public/css/iconfont.ttf differ diff --git a/public/css/iconfont.woff b/public/css/iconfont.woff index ee0555e38..1f2744da7 100644 Binary files a/public/css/iconfont.woff and b/public/css/iconfont.woff differ diff --git a/public/css/iconfont.woff2 b/public/css/iconfont.woff2 index 35a1ece2f..bb7c16cfd 100644 Binary files a/public/css/iconfont.woff2 and b/public/css/iconfont.woff2 differ diff --git a/src/forge/Settings/Webhooks/sub/historyContent.jsx b/src/forge/Settings/Webhooks/sub/historyContent.jsx index 525da3d86..3559b98f5 100644 --- a/src/forge/Settings/Webhooks/sub/historyContent.jsx +++ b/src/forge/Settings/Webhooks/sub/historyContent.jsx @@ -1,5 +1,5 @@ import React, { useEffect, useState } from 'react'; -import { Menu } from 'antd'; +import { Menu , Tag } from 'antd'; import Nodata from '../../../Nodata'; import ReactJson from 'react-json-view'; import Editor from "../../../Component/Monaco"; @@ -50,8 +50,10 @@ function HistoryContent({request_content,payload_content,response_content}) {
setKey(e.key)} mode={"horizontal"} className="contentMenu"> - 请求 - 响应 + 请求内容 + 响应内容 + {response_content && {response_content.status}} +
@@ -61,7 +63,7 @@ function HistoryContent({request_content,payload_content,response_content}) { { requestHeader && requestHeader.length > 0 &&
-

标题

+

头信息

{ requestHeader.map((i,k)=>{ @@ -76,7 +78,7 @@ function HistoryContent({request_content,payload_content,response_content}) { { payload_content &&
-

有效载荷

+

内容

0 &&
-

标题

+

头信息

{ responseHeader.map((i,k)=>{