This is an automated email from the ASF dual-hosted git repository.
wanggenhua pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 11b1433080 Update use-dependent.ts typo (#12462)
11b1433080 is described below
commit 11b1433080b67a0439248fd3bd8fbd24332cd2ad
Author: moonkop <[email protected]>
AuthorDate: Tue Nov 8 10:05:09 2022 +0800
Update use-dependent.ts typo (#12462)
---
.../src/views/projects/task/components/node/fields/use-dependent.ts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-dependent.ts
b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-dependent.ts
index 1e714a1475..26ef67eb10 100644
---
a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-dependent.ts
+++
b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-dependent.ts
@@ -68,7 +68,7 @@ export function useDependent(model: { [field: string]: any
}): IJsonItem[] {
label: t('project.node.hour')
}
]
- const DATE_LSIT = {
+ const DATE_LIST = {
hour: [
{
value: 'currentHour',
@@ -252,7 +252,7 @@ export function useDependent(model: { [field: string]: any
}): IJsonItem[] {
)
}
if (dependItem.cycle) {
- dependItem.dateOptions = DATE_LSIT[dependItem.cycle]
+ dependItem.dateOptions = DATE_LIST[dependItem.cycle]
}
})
})
@@ -354,7 +354,7 @@ export function useDependent(model: { [field: string]: any
}): IJsonItem[] {
props: {
onUpdateValue: (value: IDateType) => {
model.dependTaskList[i].dependItemList[j].dateOptions =
- DATE_LSIT[value]
+ DATE_LIST[value]
model.dependTaskList[i].dependItemList[j].dateValue = null
}
},