fix: inheritd association field failed to get detail data (#2354)

This commit is contained in:
katherinehhh 2023-07-31 10:42:54 +08:00 committed by GitHub
parent baca86e46e
commit 23cd6bb4ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -360,6 +360,9 @@ export const useParamsFromRecord = () => {
const obj = {
filterByTk: filterByTk,
};
if (record.__collection) {
obj['targetCollection'] = record.__collection;
}
if (!filterByTk) {
obj['filter'] = filter;
}