超级管理员 2 years ago
parent
commit
94dc3d432e
  1. 9
      src/components/DesignForm/formControlAttr.vue

9
src/components/DesignForm/formControlAttr.vue

@ -1035,10 +1035,11 @@ const getFormFieldBySource = (id?: string) => {
const getDataSource = () => { const getDataSource = () => {
// //
if (!state.isSearch) { if (!state.isSearch) {
getRequest('sourceList').then((res: any) => { getRequest('sourceList').then((res: any) => {
dataSourceOption.value = res.data.list dataSourceOption.value = res.data.list
//dataSourceOption.value.unshift({ name: '', id: '' }) //dataSourceOption.value.unshift({ name: '', id: '' })
}) // console.log("res.data---->",res.data)
})
} }
} }
// //

Loading…
Cancel
Save