mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
fix: query view collection with primaryKey (#3104)
This commit is contained in:
parent
0cf045d142
commit
9ed6993130
@ -307,7 +307,7 @@ export class Collection<
|
|||||||
`source field "${sourceFieldName}" not found for field "${name}" at collection "${this.name}"`,
|
`source field "${sourceFieldName}" not found for field "${name}" at collection "${this.name}"`,
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
options = { ...lodash.omit(sourceField.options, 'name'), ...options };
|
options = { ...lodash.omit(sourceField.options, ['name', 'primaryKey']), ...options };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user