1 Star 2 Fork 15

aipaw / vue-kityminder-editor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

vue-kityminder-gg

use

npm install vue-kityminder-gg --save

main.js

import kityminder from 'vue-kityminder-gg'

Vue.use(kityminder)

##examples
<minder
	ref="minder"
	@exportData="exportData"
	AccessKey="cTVaSHuahYgy-4Qvbo5LewAd5Add5625w2LSuF_5"
	SecretKey="ZEJvO2-zNNE07p8DpPIBtyejt_BYf2SxZ7pbsMR7"
	Domain="http://puo3hd5oc.bkt.clouddn.com"
	scope="jm"
	:importData="importData"
	@saveData="saveData"
></minder>

##解说
export default {
	data() {
		return {
			importData: {//数据结构
				data: { text: 'Design project', id: 2 },
				children: [
					{
						data: { text: 'Designsy', id: 3 },
						children: [
							{
								data: { text: 'Designsy', id: 4 },
								children: [{ data: { text: 'Designsy', id: 5 } }, { data: { text: 'Designsy', id: 5 } }, { data: { text: 'Designsy', id: 5 } }]
							},
							{ data: { text: 'Designsy', id: 5 } },
							{ data: { text: 'Designsy', id: 62 } },
							{ data: { text: 'Designsy', id: 73 } },
							{ data: { text: 'Designsy', id: 84 } }
						]
					},
					{ data: { text: 'Designsy', id: 9 } },
					{ data: { text: 'Designsy', id: 102 } },
					{ data: { text: 'Designsy', id: 113 } },
					{ data: { text: 'Designsy', id: 124 } }
				]
			}
		};
	},
	methods: {
		exportData(data) {//变化时返回数据
			console.lo保存按钮g(data);
		},
		saveData(data){ //
			
		}
	}
}

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/aipaw/vue-kityminder-editor.git
git@gitee.com:aipaw/vue-kityminder-editor.git
aipaw
vue-kityminder-editor
vue-kityminder-editor
master

搜索帮助