1.代码优化

v1.0.0
sws 2024-09-14 19:16:34 +08:00
parent faf52c8b4f
commit b2273c3cf1
1 changed files with 2 additions and 2 deletions

View File

@ -202,8 +202,8 @@ const save_formmat_form_data = (data: diy_data_item, close: boolean = false, is_
});
} else if (item.key == 'data-magic') {
item.com_data.content.data_magic_list.map((item1: any) => {
item1.goods_ids = item.goods_list.map((item2: any) => item2.data.id).join(',') || '';
item1.goods_list = [];
item1.data_content.goods_ids = item1.data_content.goods_list.map((item2: any) => item2.data.id).join(',') || '';
item1.data_content.goods_list = [];
});
}
return {