From 6c49b47344d4ccabc05f5ece7bb147bcc3035f10 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期六, 27 七月 2024 15:08:13 +0800
Subject: [PATCH] update element-plus 2.7.5 => 2.7.8 update vue 3.4.25 => 3.4.34 update vite 5.2.10 => 5.2.12

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

diff --git a/src/api/workflow/processDefinition/index.ts b/src/api/workflow/processDefinition/index.ts
index 23951e2..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'
@@ -93,7 +93,10 @@
   return request({
     url: '/workflow/processDefinition/deployByFile',
     method: 'post',
-    data: data
+    data: data,
+    headers: {
+      repeatSubmit: false
+    }
   });
 }
 
@@ -109,4 +112,3 @@
     method: 'put'
   });
 };
-

--
Gitblit v1.9.3