modal里确认按钮对form的提交
modal里有一个input,然后点击确认按钮来提交取消原因,此时应该如何传递给server端?modal里的bindconfirm如何获取form里的detail.value
<form bindsubmit= "formSubmit_Cancel" id= "cancelForm" > <modal title= "取消活动" confirm-text= "确认取消" cancel-text= "放弃" bindconfirm= "bindCancelConfirm" bindcancel= "bindCancelCancel" wx: if = "{{isSponsorCancelDialogShown}}" > <input name= "cancelDesc" placeholder= '可填写活动取消原因' maxlength= '30' class = 'modalInput' /> </modal> </form> |