From 91dec94df8a25eff3e0ba6e33e125efbf0da7509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Fri, 6 Sep 2024 11:58:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/model-custom/model-custom-content.vue | 2 +- src/views/layout/index.vue | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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',