【解决】el-tree报Cannot read property ‘getCheckedKeys‘ of undefined
如果你报错
Cannot read property 'getCheckedKeys' of undefined
或者
Cannot read property 'getCheckedNodes' of undefined
只要在你的在<el-tree>上加个这个,就可以了
ref="tree"
如果你报错
Cannot read property 'getCheckedKeys' of undefined
或者
Cannot read property 'getCheckedNodes' of undefined
只要在你的在<el-tree>上加个这个,就可以了
ref="tree"