这是一个操作json数据的树形组件,可以拖拽把节
这是一个操作json数据的树形组件,可以拖拽把节点移动到父节点或者子节点。
基于Vue2.x
和Vuex
的进行开发,因为有点懒所以组件内的按钮和图标是使用了Element-UI的组件。
代码目录是vue-cli
的自动生成目录,直接运行npm install
就可以运行起来。
目前版本还只是雏形,后续会继续开发完善...
DEMO
加个协议标题假装自己很正经...
截图最主要的就是这个Angular-ui-tree
,虽然到后面发现angualr和vue的侧重点有些区别,但是还是有很大的参考价值,很多代码都是直接copy的~
Copyright (c) 2017 cdroid
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
版权声明:
1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。2、网站不提供资料下载,如需下载请到原作者页面进行下载。