From a0920d284d5fc6bb1f6332251cc311d3a3ca57de Mon Sep 17 00:00:00 2001 From: Felix Hoi <60052664+felixhoi@users.noreply.github.com> Date: Fri, 20 May 2022 17:59:45 +0800 Subject: [PATCH] fix(useFormEvents): isNullOrUnDef is not defined (#1915) * fix/invaild dateFormat * fix(useFormEvents): isNullOrUnDef is not defined Co-authored-by: Felix Hoi --- src/components/Form/src/hooks/useFormEvents.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Form/src/hooks/useFormEvents.ts b/src/components/Form/src/hooks/useFormEvents.ts index 86946b44..96c9830b 100644 --- a/src/components/Form/src/hooks/useFormEvents.ts +++ b/src/components/Form/src/hooks/useFormEvents.ts @@ -2,7 +2,7 @@ import type { ComputedRef, Ref } from 'vue'; import type { FormProps, FormSchema, FormActionType } from '../types/form'; import type { NamePath } from 'ant-design-vue/lib/form/interface'; import { unref, toRaw, nextTick } from 'vue'; -import { isArray, isFunction, isObject, isString, isDef } from '/@/utils/is'; +import { isArray, isFunction, isObject, isString, isDef, isNullOrUnDef } from '/@/utils/is'; import { deepMerge } from '/@/utils'; import { dateItemType, handleInputNumberValue, defaultValueComponents } from '../helper'; import { dateUtil } from '/@/utils/dateUtil'; -- GitLab