From c476be2f5cd5b08b007eee7b2d757b8d33c98240 Mon Sep 17 00:00:00 2001 From: hlinx <327159425@qq.com> Date: Fri, 20 Sep 2024 11:06:27 +0800 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20sqlserver=20=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=A4=87=E4=BB=BD=E7=9B=AE=E6=A0=87=E9=9B=86=E7=BE=A4=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C=20#7025=20#=20Reviewed,=20transaction=20id:=2018883?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/page1/components/RenderData/RenderCluster.vue | 4 ++-- .../pages/page1/components/RenderData/RenderRow.vue | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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 || [], }); - - +