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