mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +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
|
options
|
||||||
.filter((v) => !['relation'].includes(v.key))
|
.filter((v) => !['relation'].includes(v.key))
|
||||||
.map((options, index) => ({
|
.map((options, index1) => ({
|
||||||
...options,
|
key: index1,
|
||||||
key: index,
|
|
||||||
label: compile(options.label),
|
label: compile(options.label),
|
||||||
options: options.children.map((option) => ({
|
options: options.children.map((option, index2) => ({
|
||||||
...option,
|
value: option.name,
|
||||||
|
key: `${index1}-${index2}`,
|
||||||
label: compile(option.label),
|
label: compile(option.label),
|
||||||
})),
|
})),
|
||||||
})),
|
})),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user