fix: params undefined (#2397)
This commit is contained in:
parent
a9f46e7bac
commit
5ef8fe7848
@ -134,7 +134,7 @@ export const TableColumnDesigner = (props) => {
|
|||||||
fieldSchema['x-component-props'] = field.componentProps;
|
fieldSchema['x-component-props'] = field.componentProps;
|
||||||
const path = field.path?.splice(field.path?.length - 1, 1);
|
const path = field.path?.splice(field.path?.length - 1, 1);
|
||||||
field.form.query(`${path.concat(`*.` + fieldSchema.name)}`).forEach((f) => {
|
field.form.query(`${path.concat(`*.` + fieldSchema.name)}`).forEach((f) => {
|
||||||
// set(f.componentProps, 'service.params.filter', filter);
|
f.componentProps.service = f.componentProps.service || { params: {} };
|
||||||
f.componentProps.service.params.filter = filter;
|
f.componentProps.service.params.filter = filter;
|
||||||
});
|
});
|
||||||
dn.emit('patch', {
|
dn.emit('patch', {
|
||||||
|
Loading…
Reference in New Issue
Block a user