src/menu/datasource/verifycard/settingform/index.jsx
@@ -90,6 +90,34 @@ } return _item } else if (item.type === 'group') { let _item = { value: item.uuid, label: item.name, children: item.components.map(f_tab => { if (f_tab.uuid === selfId) { return { children: null } } else if (f_tab.switchable) { return { value: f_tab.uuid, label: f_tab.name } } return { children: null } }) } _item.children = _item.children.filter(t => t.children !== null) if (_item.children.length === 0) { return {children: null} } return _item } else { return { children: null