From acc346b41a10f9673b68b3b9ffee30a3df6c8e69 Mon Sep 17 00:00:00 2001 From: 3octaves <873551943@qq.com> Date: Fri, 29 Nov 2024 18:37:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20=E4=BF=AE=E5=A4=8Dmongodb?= =?UTF-8?q?=E6=8F=90=E5=8D=95=E5=8F=82=E6=95=B0=E5=92=8C=E5=88=86=E7=89=87?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98=20#8305?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/db-manage/mongodb/replica-set-apply/Index.vue | 2 +- .../components/list/components/render-shard/Index.vue | 2 +- .../list/components/render-shard/components/RenderRow.vue | 6 ++---- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/dbm-ui/frontend/src/views/db-manage/mongodb/replica-set-apply/Index.vue b/dbm-ui/frontend/src/views/db-manage/mongodb/replica-set-apply/Index.vue index cb5aefe0d9..0d0f9b5ee7 100644 --- a/dbm-ui/frontend/src/views/db-manage/mongodb/replica-set-apply/Index.vue +++ b/dbm-ui/frontend/src/views/db-manage/mongodb/replica-set-apply/Index.vue @@ -360,7 +360,7 @@ ...details, spec_id: details.resource_spec.spec_id, resource_spec: { - mongodb: { + mongo_machine_set: { count: details.node_count, spec_id: details.resource_spec.spec_id, ...specRef.value!.getData(), diff --git a/dbm-ui/frontend/src/views/db-manage/mongodb/shared-cluster-list/components/list/components/render-shard/Index.vue b/dbm-ui/frontend/src/views/db-manage/mongodb/shared-cluster-list/components/list/components/render-shard/Index.vue index 7f6efa6561..35b8a35303 100644 --- a/dbm-ui/frontend/src/views/db-manage/mongodb/shared-cluster-list/components/list/components/render-shard/Index.vue +++ b/dbm-ui/frontend/src/views/db-manage/mongodb/shared-cluster-list/components/list/components/render-shard/Index.vue @@ -20,7 +20,7 @@ class="mb-4" :data="item.instanceList"> diff --git a/dbm-ui/frontend/src/views/db-manage/mongodb/shared-cluster-list/components/list/components/render-shard/components/RenderRow.vue b/dbm-ui/frontend/src/views/db-manage/mongodb/shared-cluster-list/components/list/components/render-shard/components/RenderRow.vue index 16e4ff29db..cfd2bb5353 100644 --- a/dbm-ui/frontend/src/views/db-manage/mongodb/shared-cluster-list/components/list/components/render-shard/components/RenderRow.vue +++ b/dbm-ui/frontend/src/views/db-manage/mongodb/shared-cluster-list/components/list/components/render-shard/components/RenderRow.vue @@ -25,8 +25,7 @@ v-for="(item, index) in data" :key="index" class="render-row-item"> - - {{ item }} + {{ item }}

@@ -35,8 +34,7 @@ v-for="(item, index) in visibleData" :key="index" class="visible-item"> - - {{ item }} + {{ item }}