diff --git a/src/api/bpm/definition/index.ts b/src/api/bpm/definition/index.ts index cb6d427..dab34a3 100644 --- a/src/api/bpm/definition/index.ts +++ b/src/api/bpm/definition/index.ts @@ -1,6 +1,6 @@ import request from '@/config/axios' -export const getProcessDefinition = async (id: number, key: string) => { +export const getProcessDefinition = async (id: number, key?: string) => { return await request.get({ url: '/bpm/process-definition/get', params: { id, key } diff --git a/src/views/bpm/category/index.vue b/src/views/bpm/category/index.vue index 46fa6cf..399ed57 100644 --- a/src/views/bpm/category/index.vue +++ b/src/views/bpm/category/index.vue @@ -1,5 +1,5 @@