/* tslint:disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export interface Form { /** * 是否返回 formId 用于发送模板消息 */ "report-submit"?: boolean; /** * 等待一段时间(毫秒数)以确认 formId 是否生效。如果未指定这个参数,formId 有很小的概率是无效的(如遇到网络失败的情况)。指定这个参数将可以检测 formId 是否有效,以这个参数的时间作为这项检测的超时时间。如果失败,将返回 requestFormId:fail 开头的 formId */ "report-submit-timeout"?: number; /** * 携带 form 中的数据触发 submit 事件,event.detail = {value : {'name': 'value'} , formId: ''} */ bindSubmit?: () => void; /** * 表单重置时会触发 reset 事件 */ bindReset?: () => void; }