diff --git a/core/core-backend/src/main/java/io/dataease/datasource/server/DatasourceServer.java b/core/core-backend/src/main/java/io/dataease/datasource/server/DatasourceServer.java
index 2f789541d9..3e5a9c76cd 100644
--- a/core/core-backend/src/main/java/io/dataease/datasource/server/DatasourceServer.java
+++ b/core/core-backend/src/main/java/io/dataease/datasource/server/DatasourceServer.java
@@ -1155,8 +1155,11 @@ public class DatasourceServer implements DatasourceApi {
if (!Arrays.asList("API", "Excel", "folder").contains(coreDatasource.getType())) {
calciteProvider.updateDsPoolAfterCheckStatus(datasourceDTO);
}
+ } catch (DEException e) {
+ datasourceDTO.setStatus("Error");
+ DEException.throwException(e.getMessage());
} catch (Exception e) {
- coreDatasource.setStatus("Error");
+ datasourceDTO.setStatus("Error");
DEException.throwException(e.getMessage());
} finally {
coreDatasource.setStatus(datasourceDTO.getStatus());
diff --git a/core/core-frontend/src/views/visualized/data/datasource/index.vue b/core/core-frontend/src/views/visualized/data/datasource/index.vue
index 9e9085ad50..6fc1407f2d 100644
--- a/core/core-frontend/src/views/visualized/data/datasource/index.vue
+++ b/core/core-frontend/src/views/visualized/data/datasource/index.vue
@@ -380,7 +380,6 @@ const initSearch = () => {
state.filterTable = tableData.value.filter(ele =>
ele.tableName.toLowerCase().includes(nickName.value.toLowerCase())
)
- console.log(tableData.value)
state.paginationConfig.total = state.filterTable.length
}
@@ -867,7 +866,6 @@ const operation = (cmd: string, data: Tree, nodeType: string) => {
}
const handleClick = (tabName: TabPaneName) => {
- console.log(tabName)
switch (tabName) {
case 'config':
listDatasourceTables({ datasourceId: nodeInfo.id }).then(res => {
@@ -1091,8 +1089,22 @@ const getMenuList = (val: boolean) => {
:title="node.label"
class="label-tooltip ellipsis"
:class="data.type === 'Excel' && 'excel'"
+ v-if="data.extraFlag > -1"
>{{ node.label }}
+