1
This commit is contained in:
parent
0e4125a469
commit
9c9ff6a21a
@ -106,8 +106,6 @@ const FormRenderer: React.FC<{
|
|||||||
<div style={{ padding: '8px 0' }}>
|
<div style={{ padding: '8px 0' }}>
|
||||||
{Object.entries(schema.properties).map(([key, value]: [string, any]) => {
|
{Object.entries(schema.properties).map(([key, value]: [string, any]) => {
|
||||||
const fieldPath = path ? `${path}.${key}` : key;
|
const fieldPath = path ? `${path}.${key}` : key;
|
||||||
console.log('Field path:', fieldPath, 'Type:', value.type);
|
|
||||||
|
|
||||||
if (value.type === 'object') {
|
if (value.type === 'object') {
|
||||||
// 特殊处理端口组配置
|
// 特殊处理端口组配置
|
||||||
if (key === 'groups' && path.endsWith('ports')) {
|
if (key === 'groups' && path.endsWith('ports')) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user