From ce5a2df3b9fbb01ea5dfa246dc6e7e51f227e19e Mon Sep 17 00:00:00 2001 From: Youngster_yj <907985037@qq.com> Date: Fri, 10 Nov 2023 14:42:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/renderer/src/main/src/pages/portscan/PortScanPage.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/renderer/src/main/src/pages/portscan/PortScanPage.tsx b/app/renderer/src/main/src/pages/portscan/PortScanPage.tsx index 24295ec34e..6678f1b5f9 100644 --- a/app/renderer/src/main/src/pages/portscan/PortScanPage.tsx +++ b/app/renderer/src/main/src/pages/portscan/PortScanPage.tsx @@ -633,6 +633,9 @@ export const ScanPortForm: React.FC = (props) => { return PresetPorts[i] || "" }) .join(",") + if(value.includes("all")){ + res = PresetPorts['all'] || "" + } if (!!res) { setParams({...params, Ports: res}) }