diff --git a/dbm-ui/frontend/src/views/db-manage/sqlserver/db-backup/pages/page1/components/RenderData/RenderCluster.vue b/dbm-ui/frontend/src/views/db-manage/sqlserver/db-backup/pages/page1/components/RenderData/RenderCluster.vue index 5ba69c9691..60e1511161 100644 --- a/dbm-ui/frontend/src/views/db-manage/sqlserver/db-backup/pages/page1/components/RenderData/RenderCluster.vue +++ b/dbm-ui/frontend/src/views/db-manage/sqlserver/db-backup/pages/page1/components/RenderData/RenderCluster.vue @@ -178,12 +178,12 @@ onBeforeUnmount(() => { if (modelValue.value) { - delete clusterIdMemo[modelValue.value.id]; + delete clusterIdMemo[instanceKey]; } }); defineExpose({ - getValue(field) { + getValue() { // 用户输入未完成验证 return editRef.value!.getValue().then(() => ({ cluster_id: modelValue.value!.id, diff --git a/dbm-ui/frontend/src/views/db-manage/sqlserver/db-backup/pages/page1/components/RenderData/RenderRow.vue b/dbm-ui/frontend/src/views/db-manage/sqlserver/db-backup/pages/page1/components/RenderData/RenderRow.vue index 1943191fc5..7560325861 100644 --- a/dbm-ui/frontend/src/views/db-manage/sqlserver/db-backup/pages/page1/components/RenderData/RenderRow.vue +++ b/dbm-ui/frontend/src/views/db-manage/sqlserver/db-backup/pages/page1/components/RenderData/RenderRow.vue @@ -63,6 +63,7 @@ id: number; domain: string; cloudId: number; + majorVersion: string; }; dbList: string[]; ignoreDbList: string[]; @@ -75,9 +76,7 @@ dbList: data.dbList || [], ignoreDbList: data.ignoreDbList || [], }); - - +