fix: 属性命名错误
parent
fe2ac97f9d
commit
3e826776f4
|
@ -70,7 +70,7 @@ watch(
|
|||
() => props.type,
|
||||
() => {
|
||||
if (props.type) {
|
||||
witchTaskComponent.value = installedComponent[props.type].componet
|
||||
witchTaskComponent.value = installedComponent[props.type].component
|
||||
}
|
||||
},
|
||||
{ immediate: true }
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue