修改自定义显示逻辑
parent
78f0121d3a
commit
91dec94df8
|
|
@ -166,7 +166,7 @@ const changeDataSource = (key: string) => {
|
|||
const url_value_dialog_call_back = (item: any[]) => {
|
||||
if (item.length > 0) {
|
||||
form.data_source_content = item[0];
|
||||
form.data_source_content_id = item[0].id;
|
||||
form.data_source_content_value = item[0].id;
|
||||
} else {
|
||||
form.data_source_content = {};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -168,7 +168,9 @@ const save_formmat_form_data = (data: diy_data_item, close: boolean = false) =>
|
|||
// item1.goods_ids = item.goods_list.map((item2: any) => item2.data.id).join(',') || '';
|
||||
// item1.goods_list = [];
|
||||
// });
|
||||
// }
|
||||
// } else if (item.key == 'custom') {
|
||||
// item.com_data.content.data_source_content = {};
|
||||
//}
|
||||
return {
|
||||
...item,
|
||||
show_tabs: '0',
|
||||
|
|
|
|||
Loading…
Reference in New Issue