feat: add query to store

This commit is contained in:
Methapon Metanipat 2024-10-25 16:47:17 +07:00
parent 76954839e5
commit 95d35551c8

View file

@ -21,6 +21,7 @@ export const useWorkflowTemplate = defineStore('workkflow-store', () => {
async function getWorkflowTemplateList(params?: {
page?: number;
pageSize?: number;
query?: string;
}) {
const res = await api.get<PaginationResult<WorkflowTemplate>>(
'/workflow-template',