修改前
.custom-checkbox {
display: flex;
align-items: center;
}
.custom-checkbox /deep/.el-checkbox__input {
order: 2; /* 调整复选框的位置 */
}
.custom-checkbox .custom-label {
order: 1; /* 调整标签的位置 */
margin-right: 10px; /* 可以根据需要调整标签与复选框之间的间距 */
}
修改后效果