amis icon indicating copy to clipboard operation
amis copied to clipboard

input-kv 解析数据的问题

Open theojia opened this issue 4 years ago • 2 comments

image

如图,form里有input-kv组件,通过两种方式data和value赋初始值时,通过data的方式会存在问题: input-kv会将 { “aaa.aaa”: 1 } 解析为 { “aaa”: { “aaa”: 1 } } ,擅自改变了用户自定义的key值。

😭麻烦老哥们帮忙确认一下~~谢谢~

theojia avatar Apr 18 '22 03:04 theojia

因为这里会做数据映射,@2betop 看看要不要在 env 里加个 convertKeyToPath 配置

nwind avatar Apr 20 '22 06:04 nwind

因为这里会做数据映射,@2betop 看看要不要在 env 里加个 convertKeyToPath 配置

老哥,这个问题还有在看麽🙏 @nwind

theojia avatar Jun 07 '22 09:06 theojia