修复切换数据来源时数据表显示有问题
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -716,7 +716,7 @@ const setDataSelectFormItems = (info, isDetail = false) => { | ... | @@ -716,7 +716,7 @@ const setDataSelectFormItems = (info, isDetail = false) => { |
| 716 | item.options = qualifiedIdentifierFloderList.value; | 716 | item.options = qualifiedIdentifierFloderList.value; |
| 717 | } | 717 | } |
| 718 | } else if (item.field == 'tableName') { | 718 | } else if (item.field == 'tableName') { |
| 719 | item.visible = !(info['dataSourceGuid'] && objectTypesList.value.includes(currDatasourceSelect.value?.databaseType));//数据源类型为obs的没有数据表选择 | 719 | item.visible = info['dataSource'] == 1 && !(info['dataSourceGuid'] && objectTypesList.value.includes(currDatasourceSelect.value?.databaseType));//数据源类型为obs的没有数据表选择 |
| 720 | } else if (item.field == 'dataSourceGuid') { | 720 | } else if (item.field == 'dataSourceGuid') { |
| 721 | item.options = info.handleType == '02' ? dataSourceList.value : dataSourceList.value.filter(d => !objectTypesList.value.includes(d.databaseType)) | 721 | item.options = info.handleType == '02' ? dataSourceList.value : dataSourceList.value.filter(d => !objectTypesList.value.includes(d.databaseType)) |
| 722 | } | 722 | } | ... | ... |
-
Please register or sign in to post a comment