From 3e826776f466b5e932fca6c55f584f03aaf5c804 Mon Sep 17 00:00:00 2001 From: Lesan <1960681385@qq.com> Date: Wed, 11 Dec 2024 13:46:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B1=9E=E6=80=A7=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../package/penal/task/ElementTask.vue | 2 +- .../bpmnProcessDesigner/package/penal/task/data.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/bpmnProcessDesigner/package/penal/task/ElementTask.vue b/src/components/bpmnProcessDesigner/package/penal/task/ElementTask.vue index c1f7c558..3a71b4c7 100644 --- a/src/components/bpmnProcessDesigner/package/penal/task/ElementTask.vue +++ b/src/components/bpmnProcessDesigner/package/penal/task/ElementTask.vue @@ -70,7 +70,7 @@ watch( () => props.type, () => { if (props.type) { - witchTaskComponent.value = installedComponent[props.type].componet + witchTaskComponent.value = installedComponent[props.type].component } }, { immediate: true } diff --git a/src/components/bpmnProcessDesigner/package/penal/task/data.ts b/src/components/bpmnProcessDesigner/package/penal/task/data.ts index d33fbebd..eda7684f 100644 --- a/src/components/bpmnProcessDesigner/package/penal/task/data.ts +++ b/src/components/bpmnProcessDesigner/package/penal/task/data.ts @@ -6,19 +6,19 @@ import ReceiveTask from './task-components/ReceiveTask.vue' export const installedComponent = { UserTask: { name: '用户任务', - componet: UserTask + component: UserTask }, ServiceTask: { name: '服务任务', - componet: ServiceTask + component: ServiceTask }, ScriptTask: { name: '脚本任务', - componet: ScriptTask + component: ScriptTask }, ReceiveTask: { name: '接收任务', - componet: ReceiveTask + component: ReceiveTask } }