mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix(sql-collection): can't select interface when setting fields (#4079)
This commit is contained in:
parent
0291eb4ba4
commit
946debc737
@ -89,12 +89,12 @@ export const FieldsConfigure = observer(
|
||||
() =>
|
||||
options
|
||||
.filter((v) => !['relation'].includes(v.key))
|
||||
.map((options, index) => ({
|
||||
...options,
|
||||
key: index,
|
||||
.map((options, index1) => ({
|
||||
key: index1,
|
||||
label: compile(options.label),
|
||||
options: options.children.map((option) => ({
|
||||
...option,
|
||||
options: options.children.map((option, index2) => ({
|
||||
value: option.name,
|
||||
key: `${index1}-${index2}`,
|
||||
label: compile(option.label),
|
||||
})),
|
||||
})),
|
||||
|
Loading…
x
Reference in New Issue
Block a user