|
|
|
@ -6,7 +6,6 @@ import { isArray, isFunction, isObject, isString, isDef, isNil, isNumber } from |
|
|
|
import { deepMerge } from '@/utils'; |
|
|
|
import { |
|
|
|
dateItemType, |
|
|
|
handleInputNumberValue, |
|
|
|
defaultValueComponents, |
|
|
|
isIncludeSimpleComponents, |
|
|
|
} from '../helper'; |
|
|
|
@ -79,8 +78,6 @@ export function useFormEvents({ |
|
|
|
const schema = unref(getSchema).find((item) => item.field === key); |
|
|
|
let value = get(values, key); |
|
|
|
const hasKey = has(values, key); |
|
|
|
|
|
|
|
value = handleInputNumberValue(schema?.component, value); |
|
|
|
const { componentProps } = schema || {}; |
|
|
|
let _props = componentProps as any; |
|
|
|
if (typeof componentProps === 'function') { |
|
|
|
|