chore: change variable name
This commit is contained in:
parent
f8673082c7
commit
d3a6ac7187
1 changed files with 2 additions and 2 deletions
|
|
@ -18,13 +18,13 @@ export const useWorkflowTemplate = defineStore('workkflow-store', () => {
|
||||||
return res.data;
|
return res.data;
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getWorkflowTemplateList(query?: {
|
async function getWorkflowTemplateList(params?: {
|
||||||
page?: number;
|
page?: number;
|
||||||
pageSize?: number;
|
pageSize?: number;
|
||||||
}) {
|
}) {
|
||||||
const res = await api.get<PaginationResult<WorkflowTemplate>>(
|
const res = await api.get<PaginationResult<WorkflowTemplate>>(
|
||||||
'/workflow-template',
|
'/workflow-template',
|
||||||
{ params: query },
|
{ params },
|
||||||
);
|
);
|
||||||
|
|
||||||
if (res.status >= 400) return null;
|
if (res.status >= 400) return null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue