微信小程序获取formId时提示"the formId is a mock one"

微信小程序使用模板消息需要使用表单提交 formId,因此进行了简单的代码测试,在 wxml 文件中创建 form 对象,并在 form 标签中声明属性 report-submit=“true” 。 wxml 代码如下: <form name='sendMessageTest' report-submit='true' bindsubmit='getFormId'> <button f
相关文章
相关标签/搜索