fix: 属性命名错误
parent
fe2ac97f9d
commit
3e826776f4
|
@ -70,7 +70,7 @@ watch(
|
||||||
() => props.type,
|
() => props.type,
|
||||||
() => {
|
() => {
|
||||||
if (props.type) {
|
if (props.type) {
|
||||||
witchTaskComponent.value = installedComponent[props.type].componet
|
witchTaskComponent.value = installedComponent[props.type].component
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ immediate: true }
|
{ immediate: true }
|
||||||
|
|
|
@ -6,19 +6,19 @@ import ReceiveTask from './task-components/ReceiveTask.vue'
|
||||||
export const installedComponent = {
|
export const installedComponent = {
|
||||||
UserTask: {
|
UserTask: {
|
||||||
name: '用户任务',
|
name: '用户任务',
|
||||||
componet: UserTask
|
component: UserTask
|
||||||
},
|
},
|
||||||
ServiceTask: {
|
ServiceTask: {
|
||||||
name: '服务任务',
|
name: '服务任务',
|
||||||
componet: ServiceTask
|
component: ServiceTask
|
||||||
},
|
},
|
||||||
ScriptTask: {
|
ScriptTask: {
|
||||||
name: '脚本任务',
|
name: '脚本任务',
|
||||||
componet: ScriptTask
|
component: ScriptTask
|
||||||
},
|
},
|
||||||
ReceiveTask: {
|
ReceiveTask: {
|
||||||
name: '接收任务',
|
name: '接收任务',
|
||||||
componet: ReceiveTask
|
component: ReceiveTask
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue