feat: add query to store
This commit is contained in:
parent
76954839e5
commit
95d35551c8
1 changed files with 1 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ export const useWorkflowTemplate = defineStore('workkflow-store', () => {
|
||||||
async function getWorkflowTemplateList(params?: {
|
async function getWorkflowTemplateList(params?: {
|
||||||
page?: number;
|
page?: number;
|
||||||
pageSize?: number;
|
pageSize?: number;
|
||||||
|
query?: string;
|
||||||
}) {
|
}) {
|
||||||
const res = await api.get<PaginationResult<WorkflowTemplate>>(
|
const res = await api.get<PaginationResult<WorkflowTemplate>>(
|
||||||
'/workflow-template',
|
'/workflow-template',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue