form 增加参数 vertical
This commit is contained in:
5
types/form-item.d.ts
vendored
5
types/form-item.d.ts
vendored
@@ -54,6 +54,10 @@ export interface VxeFormItemProps {
|
||||
* 是否显示标题
|
||||
*/
|
||||
showTitle?: VxeFormItemPropTypes.ShowTitle
|
||||
/**
|
||||
* 使用垂直布局
|
||||
*/
|
||||
vertical?: VxeFormItemPropTypes.Vertical
|
||||
/**
|
||||
* 给表单项附加 className
|
||||
*/
|
||||
@@ -121,6 +125,7 @@ export namespace VxeFormItemPropTypes {
|
||||
export type TitleColon = VxeFormPropTypes.TitleColon
|
||||
export type TitleAsterisk = VxeFormPropTypes.TitleAsterisk
|
||||
export type ShowTitle = boolean
|
||||
export type Vertical = boolean
|
||||
|
||||
interface ClassNameParams {
|
||||
$form: VxeFormConstructor
|
||||
|
||||
3
types/form.d.ts
vendored
3
types/form.d.ts
vendored
@@ -76,6 +76,7 @@ export namespace VxeFormPropTypes {
|
||||
export type TitleColon = boolean
|
||||
export type TitleAsterisk = boolean
|
||||
export type TitleOverflow = boolean | 'ellipsis' | 'title' | 'tooltip' | '' | null
|
||||
export type Vertical = boolean
|
||||
|
||||
interface ClassNameParams {
|
||||
$form: VxeFormConstructor
|
||||
@@ -128,6 +129,7 @@ export type VxeFormProps<D = any> = {
|
||||
titleColon?: VxeFormPropTypes.TitleColon
|
||||
titleAsterisk?: VxeFormPropTypes.TitleAsterisk
|
||||
titleOverflow?: VxeFormPropTypes.TitleOverflow
|
||||
vertical?: VxeFormPropTypes.Vertical
|
||||
className?: VxeFormPropTypes.ClassName
|
||||
readonly?: VxeFormPropTypes.Readonly
|
||||
items?: VxeFormPropTypes.Items
|
||||
@@ -218,6 +220,7 @@ export namespace VxeFormDefines {
|
||||
titleSuffix: VxeFormItemPropTypes.TitleSuffix
|
||||
titleOverflow: VxeFormItemPropTypes.TitleOverflow
|
||||
showTitle: VxeFormItemPropTypes.ShowTitle
|
||||
vertical: VxeFormItemPropTypes.Vertical
|
||||
resetValue: VxeFormItemPropTypes.ResetValue
|
||||
visibleMethod: VxeFormItemPropTypes.VisibleMethod
|
||||
visible: VxeFormItemPropTypes.Visible
|
||||
|
||||
Reference in New Issue
Block a user