0 效果 1 代码 type是table数据中用来区分一级和二级的标识 // 隐藏子合同选择框 cellNone(row) { if (row.row.type == 3 || row.row.type == 4) { return "checkNone"; } }, <style lang="scss" scoped> ::v-deep { .checkNone .el-checkbox__input { display: none; } } </style>