上图是我打印出来的表单数据,但是后端需要的格式是下面的,所有的property_detail_code_数字,property_detail_name_数字,以数字对应包到detail里面。[ { "id":1, "property_detail_code":"202", "property_detail_name":"红色" }, { "id":2, "property_detail_code":"201", "property_detail_name":"蓝色" }, { "id":3, "property_detail_code":"201", "property_detail_name":"蓝色" }]如何把提交的数据弄出来然后赋到detail参数里?
添加回答
举报
0/150
提交
取消