写出form表单中如何绑定提交表单事件和清空表单事件?
讨论吧
讨论吧
bindreset
bindsubmit
代码片段:https://developers.weixin.qq.com/s/MUaz7cmy6AYq
<button style="margin: 30rpx 0" type="primary" formType="submit">Submit</button>
<button style="margin: 30rpx 0" formType="reset">Reset</button>