@@ -995,7 +995,11 @@ const getCaseProjects = async (name: string, system:boolean, template:boolean, c
}
const ret: any = await axios.post(
`/api/data/${collection}/list`,
- data ,
+ {
+ pageIndex: current,
+ pageSize,
+ ...data
+ },
// {
// // query: {
// // tags: "系统方案"
@@ -1008,10 +1012,10 @@ const getCaseProjects = async (name: string, system:boolean, template:boolean, c
// template
// },
{
- params: {
- current,
- pageSize,
- },
+ // params: {
+ // current,
+ // pageSize,
+ // },
);