naive-ui icon indicating copy to clipboard operation
naive-ui copied to clipboard

feat(n-tree): adds `ignore-empty-children` prop

Open artsmp0 opened this issue 1 year ago • 4 comments
trafficstars

artsmp0 avatar Jan 31 '24 07:01 artsmp0

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
naive-ui ❌ Failed (Inspect) Jan 31, 2024 8:27am

vercel[bot] avatar Jan 31 '24 07:01 vercel[bot]

duplicate https://github.com/tusen-ai/naive-ui/pull/4176 https://github.com/tusen-ai/naive-ui/commit/73eade2a26c1bdef236a570393d3e36c4ce6a42c

jahnli avatar Jan 31 '24 13:01 jahnli

使用 :get-children="(v) => (v.children?.length ? v.children : undefined)"

jahnli avatar Feb 21 '24 02:02 jahnli

Fuck, I've forgot my solution. We should add a demo instead of current solution.

07akioni avatar Feb 23 '24 10:02 07akioni

TODO add docs

07akioni avatar Mar 11 '24 10:03 07akioni