Commit 5ccc9c43b2f6353aba818b4dd3be501b107bb144

Authored by qiang.tian
1 parent 04129d56

chore: update

1 { 1 {
2 "name": "@qx/common", 2 "name": "@qx/common",
3 - "version": "3.0.0-alpha.21", 3 + "version": "3.0.0-alpha.22",
4 "description": "A react library developed with dumi", 4 "description": "A react library developed with dumi",
5 "license": "MIT", 5 "license": "MIT",
6 "module": "dist/index.js", 6 "module": "dist/index.js",
@@ -234,7 +234,7 @@ export const useNodeFieldDisplay = ({ @@ -234,7 +234,7 @@ export const useNodeFieldDisplay = ({
234 }; 234 };
235 235
236 const SelectItem = (props: any) => { 236 const SelectItem = (props: any) => {
237 - if (props.type === 'FORM') { 237 + if (props.type === 'FORM' && props.child?.length) {
238 return ( 238 return (
239 <div className={cls('qx-node-select-item', 'qx-node-select-item__group')}> 239 <div className={cls('qx-node-select-item', 'qx-node-select-item__group')}>
240 <Collapse 240 <Collapse