diff --git a/src/components/model-custom/model-custom-content.vue b/src/components/model-custom/model-custom-content.vue index f69cd9b9..75a3baf8 100644 --- a/src/components/model-custom/model-custom-content.vue +++ b/src/components/model-custom/model-custom-content.vue @@ -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 = {}; } diff --git a/src/views/layout/index.vue b/src/views/layout/index.vue index 83f65c74..573effc0 100644 --- a/src/views/layout/index.vue +++ b/src/views/layout/index.vue @@ -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',