diff --git a/src/components/Form/src/types/form.ts b/src/components/Form/src/types/form.ts index 05ab90505..8690d722e 100644 --- a/src/components/Form/src/types/form.ts +++ b/src/components/Form/src/types/form.ts @@ -1,10 +1,10 @@ -import type { NamePath, RuleObject } from 'ant-design-vue/lib/form/interface' -import type { CSSProperties, VNode } from 'vue' -import type { RowProps } from 'ant-design-vue/lib/grid/Row' -import type { FormItem } from './formItem' -import type { ColEx, ComponentType } from './index' import type { ButtonProps as AntdButtonProps } from '@/components/Button' import type { TableActionType } from '@/components/Table/src/types/table' +import type { NamePath, RuleObject } from 'ant-design-vue/lib/form/interface' +import type { RowProps } from 'ant-design-vue/lib/grid/Row' +import type { CSSProperties, VNode } from 'vue' +import type { FormItem } from './formItem' +import type { ColEx, ComponentType } from './index' export type FieldMapToTime = [string, [string, string], (string | [string, string])?][] @@ -189,6 +189,12 @@ interface BaseFormSchema { isAdvanced?: boolean + // Input/InputTextArea是否显示字数 + showCount?: boolean + + // Input/InputTextArea是否字限制长度 + maxlength?: number + // Matching details components span?: number