官方文档:https://developers.weixin.qq.com/miniprogram/dev/component/form.html?search-key=report-submit
wxml:
report-submit='true'
js:
addfrom(e) {
console.log('form', e)
var that = this
var formid = e.detail.formId
let val = e.detail.value
}
console.log一下