fix: 属性命名错误

pull/616/head
Lesan 2024-12-11 13:46:09 +08:00
parent fe2ac97f9d
commit 3e826776f4
2 changed files with 5 additions and 5 deletions

View File

@ -70,7 +70,7 @@ watch(
() => props.type,
() => {
if (props.type) {
witchTaskComponent.value = installedComponent[props.type].componet
witchTaskComponent.value = installedComponent[props.type].component
}
},
{ immediate: true }

View File

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