未验证 提交 11b14330 编写于 作者: M moonkop 提交者: GitHub

Update use-dependent.ts typo (#12462)

上级 0793d1a1
......@@ -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
}
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册