fix(a-form):fixed use props.name instead window.name (#6460)
parent
95642610da
commit
634adae1c3
|
@ -208,7 +208,7 @@ export default defineComponent({
|
|||
if (typeof props.label === 'string') {
|
||||
variables.label = props.label;
|
||||
} else if (props.name) {
|
||||
variables.label = String(name);
|
||||
variables.label = String(props.name);
|
||||
}
|
||||
if (props.messageVariables) {
|
||||
variables = { ...variables, ...props.messageVariables };
|
||||
|
|
Loading…
Reference in New Issue