Open Hotcapsicum opened 4 years ago
win10/ chrome/ vue ^2.0
https://run.iviewui.com/0S8lDfpa
table的数据结构包含children时,会报错, Error in render: "TypeError: Cannot read property '_isChecked' of null" 通过代码处理替换掉children时,恢复正常;children是否为关键词?
tabledata里可以包含children,我没有用iview最新的tree结构时,就会报错
正常显示
iview旧版本,table组件没有tree结构时自己写的,升级到4.2之后不兼容了,4.0版本正常
是否应该考虑给table组件增加一个 v-tree 标识,表明是否启用树状组件,不然有时候数据里带chilren,并不是说明要用树状结构
有这闲工夫删我评论能不能把bug去修复修复,而且你的tree组件性能差的要命,收费前能不能优化优化?继续屏蔽?
Environment
win10/ chrome/ vue ^2.0
Reproduction link
https://run.iviewui.com/0S8lDfpa
Steps to reproduce
table的数据结构包含children时,会报错, Error in render: "TypeError: Cannot read property '_isChecked' of null" 通过代码处理替换掉children时,恢复正常;children是否为关键词?
What is expected?
tabledata里可以包含children,我没有用iview最新的tree结构时,就会报错
What is actually happening?
正常显示