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) + }) } } // 表单属性修改