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

This commit is contained in:
Lowell 2021-10-05 22:55:02 +08:00 committed by GitHub
parent eac2fb4aaa
commit 473e56e4e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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