fix: association table block overwirtten by default values in popver action (#3056)
This commit is contained in:
parent
76a225e354
commit
36043be130
@ -139,6 +139,7 @@ export const useTableBlockProps = () => {
|
|||||||
if (!ctx?.service?.loading) {
|
if (!ctx?.service?.loading) {
|
||||||
field.value = [];
|
field.value = [];
|
||||||
field.value = ctx?.service?.data?.data;
|
field.value = ctx?.service?.data?.data;
|
||||||
|
field.setInitialValue(ctx?.service?.data?.data);
|
||||||
field.data = field.data || {};
|
field.data = field.data || {};
|
||||||
field.data.selectedRowKeys = ctx?.field?.data?.selectedRowKeys;
|
field.data.selectedRowKeys = ctx?.field?.data?.selectedRowKeys;
|
||||||
field.componentProps.pagination = field.componentProps.pagination || {};
|
field.componentProps.pagination = field.componentProps.pagination || {};
|
||||||
|
Loading…
Reference in New Issue
Block a user