Unverified Commit abc5385b authored by Pandas886's avatar Pandas886 Committed by GitHub

fix get savepoint list of a job (#2942)

目前请求无法正确传参,导致根据taskId过滤savepoint 列表失效
parent 6f2e9c52
...@@ -63,7 +63,7 @@ const SavePoints = (props: any) => { ...@@ -63,7 +63,7 @@ const SavePoints = (props: any) => {
actionRef={actionRef} actionRef={actionRef}
rowKey='id' rowKey='id'
request={(params, sorter, filter) => request={(params, sorter, filter) =>
postAll(API_CONSTANTS.GET_SAVEPOINT_LIST, { params, sorter, filter }) postAll(API_CONSTANTS.GET_SAVEPOINT_LIST, { ...params, sorter, filter })
} }
params={{ taskId: current.id }} params={{ taskId: current.id }}
columns={columns as ProColumns<SavePoint>[]} columns={columns as ProColumns<SavePoint>[]}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment