表单验证如何让select设置为必选 <select class="custom-select mr-sm-2" name="province" id="province" required> <option value="">请选择</option> </select> 把请选择的第一项的value设置为空即可 Published by 风君子 独自遨游何稽首 揭天掀地慰生平 View all posts by 风君子