diff --git a/dbm-ui/frontend/src/views/db-configure/business/list/components/hooks/useBaseDetails.ts b/dbm-ui/frontend/src/views/db-configure/business/list/components/hooks/useBaseDetails.ts index 851d06f649..6b88e88fe0 100644 --- a/dbm-ui/frontend/src/views/db-configure/business/list/components/hooks/useBaseDetails.ts +++ b/dbm-ui/frontend/src/views/db-configure/business/list/components/hooks/useBaseDetails.ts @@ -141,7 +141,7 @@ export const useBaseDetails = (immediateFetch = true) => { const parentInfo = (node.value.parentId as string).split('-'); id = Number(parentInfo[1]); } - if ([DBTypes.MYSQL, DBTypes.SQLSERVER].includes(dbType.value)) { + if ([DBTypes.MYSQL, DBTypes.TENDBCLUSTER, DBTypes.SQLSERVER].includes(dbType.value)) { fetchModuleConfig(id); } else if (notModuleClusters.includes(dbType.value)) { fetchLevelConfig(); diff --git a/dbm-ui/frontend/src/views/db-configure/business/list/components/hooks/useTreeData.ts b/dbm-ui/frontend/src/views/db-configure/business/list/components/hooks/useTreeData.ts index 0a36287e21..5016c3dadd 100644 --- a/dbm-ui/frontend/src/views/db-configure/business/list/components/hooks/useTreeData.ts +++ b/dbm-ui/frontend/src/views/db-configure/business/list/components/hooks/useTreeData.ts @@ -48,6 +48,7 @@ export const useTreeData = (treeState: TreeState) => { mysql: getMysqlResourceTree, mongodb: getMongoDBResourceTree, sqlserver: geSqlserverResourceTree, + tendbcluster: getMysqlResourceTree, }; const activeTreeNode = computed(() => treeState.activeNode);