From b8bda0b01f3b097bc70491787dc63cbb211846cb Mon Sep 17 00:00:00 2001 From: luoluo <1425735414@qq.com> Date: Mon, 15 Jul 2024 11:17:49 +0800 Subject: [PATCH] =?UTF-8?q?del:=E5=88=A0=E9=99=A4TODO;fix:=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E8=BD=AC=E6=8D=A2ReverseTable>YakitEditor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/src/pages/reverseServer/ReverseTable.tsx | 6 +----- app/renderer/src/main/src/utils/editors.tsx | 2 -- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/app/renderer/src/main/src/pages/reverseServer/ReverseTable.tsx b/app/renderer/src/main/src/pages/reverseServer/ReverseTable.tsx index 87edeb4bdd..a57cd61a8c 100644 --- a/app/renderer/src/main/src/pages/reverseServer/ReverseTable.tsx +++ b/app/renderer/src/main/src/pages/reverseServer/ReverseTable.tsx @@ -266,11 +266,7 @@ export const ReverseTable: React.FC = (props) => { secondNode={ } > diff --git a/app/renderer/src/main/src/utils/editors.tsx b/app/renderer/src/main/src/utils/editors.tsx index 0198f6efff..943983adad 100644 --- a/app/renderer/src/main/src/utils/editors.tsx +++ b/app/renderer/src/main/src/utils/editors.tsx @@ -816,7 +816,6 @@ export const NewHTTPPacketEditor: React.FC = React.memo const mb = bytes.length / 1024 / 1024 // 0.5mb 及以下内容才可美化 if (isResponse) { - /*TODO - 注意*/ formatPacketRender(StringToUint8Array(originValue), (packet) => { if (packet) { if (mb > 0.5) { @@ -898,7 +897,6 @@ export const NewHTTPPacketEditor: React.FC = React.memo wait: 300 } ).run - /*TODO - */ const renderCode = useDebounceFn( useMemoizedFn(async () => { if (!isShowBeautifyRenderRef.current || typeOptions.findIndex((i) => i.value === "render") === -1) return