From 9193f0b84ac8deff766f7e9f0d9f8a7086642014 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期五, 02 八月 2024 09:59:14 +0800
Subject: [PATCH] update 优化 切换租户后刷新首页

---
 src/api/workflow/processDefinition/index.ts |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/api/workflow/processDefinition/index.ts b/src/api/workflow/processDefinition/index.ts
index 605012a..c063120 100644
--- a/src/api/workflow/processDefinition/index.ts
+++ b/src/api/workflow/processDefinition/index.ts
@@ -50,11 +50,11 @@
 
 /**
  * 鍒犻櫎娴佺▼瀹氫箟
- * @param processDefinitionId 娴佺▼瀹氫箟id
  * @param deploymentId 閮ㄧ讲id
+ * @param processDefinitionId 娴佺▼瀹氫箟id
  * @returns
  */
-export const deleteProcessDefinition = (deploymentId: string, processDefinitionId: string) => {
+export const deleteProcessDefinition = (deploymentId: string | string[], processDefinitionId: string | string[]) => {
   return request({
     url: `/workflow/processDefinition/${deploymentId}/${processDefinitionId}`,
     method: 'delete'

--
Gitblit v1.9.3