mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 18:52:20 +08:00
fix: sub-table appends
This commit is contained in:
parent
d0cff714f0
commit
3abbec1148
@ -1102,7 +1102,8 @@ export const useAssociationNames = (collection) => {
|
||||
const collectionfield = s['x-collection-field'] && getCollectionJoinField(s['x-collection-field']);
|
||||
if (
|
||||
collectionfield &&
|
||||
['createdBy', 'updatedBy', 'o2m', 'obo', 'oho', 'm2o', 'm2m'].includes(collectionfield.interface)
|
||||
['createdBy', 'updatedBy', 'o2m', 'obo', 'oho', 'm2o', 'm2m'].includes(collectionfield.interface) &&
|
||||
s['x-component'] !== 'TableField'
|
||||
) {
|
||||
buf.push(s.name);
|
||||
if (['Nester', 'SubTable'].includes(s['x-component-props']?.mode)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user