1、设置default-expand-all="true"属性 登录后复制 <el-tree :data="data" default-expand-all/> 1.2.3. 作者:꧁执笔小白꧂ 原创作者: u_16822845 转载于: https://blog.51cto.com/u_16822845/11699915