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, () => props.type,
() => { () => {
if (props.type) { if (props.type) {
witchTaskComponent.value = installedComponent[props.type].componet witchTaskComponent.value = installedComponent[props.type].component
} }
}, },
{ immediate: true } { immediate: true }

View File

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