<label for="agree"> <!-- 如果有label连文字都可以点 --> <input type="checkbox" id="agree" v-model="isAgree">同意协议 </label> 用label标签包含input标签的话,点击文字的时候,也可以单击按钮 来源:CSDN作者:猫的尾巴有墨水链接:https://blog.csdn.net/Xidian2850/article/details/103734396 标签 label