element-ui tree全部展开和全部收起功能的实现 https://blog.csdn.net/m0_59850490/article/details/122366340
for(var i=0;i<this.$refs.selectTree.store._getAllNodes().length;i++){this.$refs.selectTree.store._getAllNodes()[i].expanded = false;}