Browse Source

form的label属性实际上可以使用VNode (#1252)

pull/1270/head
Lowell 5 years ago
committed by GitHub
parent
commit
473e56e4e0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/components/Form/src/types/form.ts

2
src/components/Form/src/types/form.ts

@ -129,7 +129,7 @@ export interface FormSchema {
// Variable name bound to v-model Default value // Variable name bound to v-model Default value
valueField?: string; valueField?: string;
// Label name // Label name
label: string; label: string | VNode;
// Auxiliary text // Auxiliary text
subLabel?: string; subLabel?: string;
// Help text on the right side of the text // Help text on the right side of the text

Loading…
Cancel
Save