<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="customSwitch1">
<label class="custom-control-label" for="customSwitch1">Toggle this switch element</label>
</div>
为什么自定义控件没有光标指针? 我尝试使用style =“ cursor:pointer”或不进行任何操作来应用类的指针