基于 Ant Design
实现的可编辑 tree,主要是借用了 TreeNode
的 title
属性,它类型是 string|ReactNode
。具体实现请参见代码,踩坑的地方已经加了注释。
样式上有些问题,需要自己修改并调整
A editable tree based on Ant Design
能做成光标放上去的时候显示编辑等图标吗? 光标移开就不显示了
你好,我想问下这个如何把建好的树保存成json字符串,以便于下次加载继续编辑
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.