Skip to content

Commit

Permalink
fix: 优化
Browse files Browse the repository at this point in the history
  • Loading branch information
youngster-yj committed Nov 13, 2023
1 parent 2bfbda9 commit ce5a2df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/renderer/src/main/src/pages/portscan/PortScanPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,9 @@ export const ScanPortForm: React.FC<ScanPortFormProp> = (props) => {
return PresetPorts[i] || ""
})
.join(",")
if(value.includes("all")){
res = PresetPorts['all'] || ""
}
if (!!res) {
setParams({...params, Ports: res})
}
Expand Down

0 comments on commit ce5a2df

Please sign in to comment.