官方文档: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一下

TAG标签: 微信小程序微信id是什么

http://www.xiaochengxub.com/read-103383.html