# vue-kityminder-editor **Repository Path**: coder1493/vue-kityminder-editor ## Basic Information - **Project Name**: vue-kityminder-editor - **Description**: 百度脑图 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 17 - **Created**: 2025-01-20 - **Last Updated**: 2025-01-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-kityminder-gg ## use `npm install vue-kityminder-gg --save` ## main.js ```js import kityminder from 'vue-kityminder-gg' Vue.use(kityminder) ##examples ##解说 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){ // } } }