fix: failed to duplicate value in sub-table when setting data scope in association select (#3239)

This commit is contained in:
katherinehhh 2023-12-21 10:18:19 +08:00 committed by GitHub
parent 978c4c5f61
commit b8244bfb9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,6 +138,7 @@ export const Templates = ({ style = {}, form }) => {
forEach(data, (value, key) => {
if (value) {
form.values[key] = value;
form?.setInitialValuesIn?.(key, value);
}
});
}