mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 15:35:28 +00:00
fix: undefined mode (#1950)
This commit is contained in:
parent
6d326f424a
commit
76ddbf2104
@ -1121,7 +1121,7 @@ export const useAssociationNames = (collection) => {
|
|||||||
if (['Nester', 'SubTable'].includes(s['x-component-props']?.mode)) {
|
if (['Nester', 'SubTable'].includes(s['x-component-props']?.mode)) {
|
||||||
associationValues.push(s.name);
|
associationValues.push(s.name);
|
||||||
}
|
}
|
||||||
if (s['x-component-props'].mode === 'Nester') {
|
if (s['x-component-props']?.mode === 'Nester') {
|
||||||
return getAssociationAppends(s, buf);
|
return getAssociationAppends(s, buf);
|
||||||
}
|
}
|
||||||
return buf;
|
return buf;
|
||||||
|
Loading…
Reference in New Issue
Block a user