Commit 473e56e4e07ea641b47730b62196ab5caa11cd17
Committed by
GitHub
1 parent
eac2fb4a
form的label属性实际上可以使用VNode (#1252)
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/Form/src/types/form.ts
@@ -129,7 +129,7 @@ export interface FormSchema { | @@ -129,7 +129,7 @@ export interface FormSchema { | ||
129 | // Variable name bound to v-model Default value | 129 | // Variable name bound to v-model Default value |
130 | valueField?: string; | 130 | valueField?: string; |
131 | // Label name | 131 | // Label name |
132 | - label: string; | 132 | + label: string | VNode; |
133 | // Auxiliary text | 133 | // Auxiliary text |
134 | subLabel?: string; | 134 | subLabel?: string; |
135 | // Help text on the right side of the text | 135 | // Help text on the right side of the text |