feat: 解决Form updateSchema后执行setProps导致schemaRef被重置的问题 (#3354)
This commit is contained in:
parent
be935eb44e
commit
b0e8154f9f
|
|
@ -218,7 +218,7 @@
|
||||||
);
|
);
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
() => unref(getProps).schemas,
|
() => props.schemas,
|
||||||
(schemas) => {
|
(schemas) => {
|
||||||
resetSchema(schemas ?? []);
|
resetSchema(schemas ?? []);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue