Skip to content

Commit

Permalink
修复条件删除的 BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
v1ll4n committed Jun 10, 2022
1 parent 25cb38c commit 4a197a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/renderer/src/main/src/components/HTTPFlowTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ export const HTTPFlowTable: React.FC<HTTPFlowTableProp> = (props) => {
</Select>
</Form.Item>
<Popconfirm
title={"确定想要删除所有记录吗?不可恢复"}
title={"确定想要删除记录吗?不可恢复"}
onConfirm={(e) => {
ipcRenderer.invoke("delete-http-flows-all")
setLoading(true)
Expand Down Expand Up @@ -1053,7 +1053,7 @@ export const HTTPFlowTable: React.FC<HTTPFlowTableProp> = (props) => {
DeleteAll: false
}
ipcRenderer
.invoke("delete-http-flows-all", newParams)
.invoke("DeleteHTTPFlows", newParams)
.then((i: HTTPFlow) => {
setParams(props.params || {SourceType: "mitm"})
})
Expand Down

0 comments on commit 4a197a0

Please sign in to comment.