From b2219cabec3aa8b1e7a3f942ba54f0bebcad5130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Thu, 6 Mar 2025 23:13:35 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/workflow/processDefinition/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/workflow/processDefinition/index.vue b/src/views/workflow/processDefinition/index.vue index fc18718..af5d0c9 100644 --- a/src/views/workflow/processDefinition/index.vue +++ b/src/views/workflow/processDefinition/index.vue @@ -196,6 +196,7 @@ import { categoryTree } from '@/api/workflow/category'; import { CategoryTreeVO } from '@/api/workflow/category/types'; import { FlowDefinitionQuery, FlowDefinitionVo, FlowDefinitionForm } from '@/api/workflow/definition/types'; import { UploadRequestOptions, TabsPaneContext } from 'element-plus'; +import { ElMessageBoxOptions } from "element-plus/es/components/message-box/src/message-box.type"; const { proxy } = getCurrentInstance() as ComponentInternalInstance; @@ -498,7 +499,7 @@ const handleCopyDef = async (row: FlowDefinitionVo) => { confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning' - }).then(() => { + } as ElMessageBoxOptions).then(() => { loading.value = true; copy(row.id).then((resp) => { if (resp.code === 200) {