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