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 } }