Browse Source
feat: 解决Form updateSchema后执行setProps导致schemaRef被重置的问题 (#3354)
pull/3360/merge
韩菱纱
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/components/Form/src/BasicForm.vue
|
|
|
@ -218,7 +218,7 @@ |
|
|
|
); |
|
|
|
|
|
|
|
watch( |
|
|
|
() => unref(getProps).schemas, |
|
|
|
() => props.schemas, |
|
|
|
(schemas) => { |
|
|
|
resetSchema(schemas ?? []); |
|
|
|
}, |
|
|
|
|