微信小程序消息推送,前端操作
时间:2019-05-31 15:04:49
收藏:0
阅读:232
<form bindsubmit="getFormId" report-submit="true">
<button form-type="submit">
立即预约
</button>
</form>
form_submit: function (e) { console.log(e) if (e.detail.formId === ‘the formId is a mock one‘) { return } else { let data = { formId: e.detail.formId } 调用后台接口 } }
原文:https://www.cnblogs.com/wanf/p/10955081.html
评论(0)