From 94dc3d432eae74d43c478f523a8fd8d49fce12e6 Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Thu, 27 Jul 2023 09:07:50 +0800 Subject: [PATCH] 1111 --- src/components/DesignForm/formControlAttr.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/DesignForm/formControlAttr.vue b/src/components/DesignForm/formControlAttr.vue index 8e14b58a7..5a6667042 100644 --- a/src/components/DesignForm/formControlAttr.vue +++ b/src/components/DesignForm/formControlAttr.vue @@ -1035,10 +1035,11 @@ const getFormFieldBySource = (id?: string) => { const getDataSource = () => { // 获取数据源,表单设计才加载,搜索设置不需要 if (!state.isSearch) { - getRequest('sourceList').then((res: any) => { - dataSourceOption.value = res.data.list - //dataSourceOption.value.unshift({ name: '无', id: '' }) - }) + getRequest('sourceList').then((res: any) => { + dataSourceOption.value = res.data.list + //dataSourceOption.value.unshift({ name: '无', id: '' }) + // console.log("res.data---->",res.data) + }) } } // 表单属性修改