Closed Brunoon closed 5 years ago
要解决什么问题 目前提交数据到后端的方法是通过 mip-form 和 mip-script,因为 mip-script 比较重,所以优先考虑使用 mip-form。mip-form 通过点击提交按钮或回车触发提交,这样限制比较大,必须用户交互才能提交数据,因此需要暴露提交的方法,在需要的时候能够提交数据。
描述一下你理想中的解决方案 暴露 submit 和 clear 方法(对齐 AMP)
描述你的备选方案 清晰准确的描述你考虑的备选方案
补充信息 补充其他信息,如截图等
之前已经实现了 submit 方法,需要增加 clear 方法,并添加文档说明
要解决什么问题 目前提交数据到后端的方法是通过 mip-form 和 mip-script,因为 mip-script 比较重,所以优先考虑使用 mip-form。mip-form 通过点击提交按钮或回车触发提交,这样限制比较大,必须用户交互才能提交数据,因此需要暴露提交的方法,在需要的时候能够提交数据。
描述一下你理想中的解决方案 暴露 submit 和 clear 方法(对齐 AMP)
描述你的备选方案 清晰准确的描述你考虑的备选方案
补充信息 补充其他信息,如截图等