element tree树形控件,只让叶子节点显示复选框

.el-tree-node {

.is-leaf + .el-checkbox .el-checkbox__inner {

display:inline-block;

    }

.el-checkbox__input>.el-checkbox__inner {

display:none;

    }

}

你可能感兴趣的:(element tree树形控件,只让叶子节点显示复选框)