xuliangzhan / vue-element-extends

🌴 基于 ElementUI 2.x 的扩展组件(已废弃 Have been abandoned)
MIT License
494 stars 166 forks source link

关于树结构添加 #188

Open hhwsgit opened 5 years ago

hhwsgit commented 5 years ago

问题描述 Describe the bug 树结构在添加大类的时候会报错Cannot read property 'id' of undefined

重现问题的步骤 To Reproduce https://xuliangzhan.github.io/vue-element-extends/#/editable/dblclick7 选中ID为201的行,点击添加大类,控制台会报Uncaught (in promise) TypeError: Cannot read property 'id' of undefined

请提供能重现问题的链接(jsfiddle、jsrun) Expected behavior https://xuliangzhan.github.io/vue-element-extends/#/editable/dblclick7

报错信息或截图 Error message or screenshots image

期望的结果 Expected behavior 不报错

请填写以下版本信息 please complete the following information