amis icon indicating copy to clipboard operation
amis copied to clipboard

您好,请问下有办法获取正在修改的表单全部数据么?

Open xdlove opened this issue 6 years ago • 1 comments

实现场景:

想在前端做一个表单提交数据diff的功能,我想要获取当前修改后的表单数据和修改前的表单数据,然后用diff-editor工具

存在的问题:

请简单描述你现在遇到的不符合预期的问题...

当前方案:

请粘贴你当前方案的完整 amis schema 代码...

code here...

xdlove avatar Nov 20 '20 10:11 xdlove

问题解决了。我是通过接收适配器定义一个表单字段,接收表单的修改,然后放在 diff-editor 里

xdlove avatar Nov 20 '20 12:11 xdlove