Skip to content

Commit

Permalink
fix(frontend): 修复mongodb容量变更提单参数取值问题 #8383
Browse files Browse the repository at this point in the history
  • Loading branch information
3octaves authored and hLinx committed Dec 3, 2024
1 parent bf44620 commit 293da53
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
v-model="specInfo"
:biz-id="data.bizId"
:cloud-id="data.cloudId"
:cluster-type="clusterType"
:is-apply="false"
:origin-spec-id="originSpecId"
:properties="{
Expand All @@ -46,7 +45,6 @@

<script setup lang="tsx">
import { InfoBox } from 'bkui-vue';
import { type ComponentProps } from 'vue-component-type-helpers'
import { useI18n } from 'vue-i18n';

import { createTicket } from '@services/source/ticket';
Expand All @@ -68,7 +66,6 @@
shardNum: number;
shardNodeCount: number;
},
clusterType: ComponentProps<typeof MongoConfigSpec>['clusterType']
}

const props = defineProps<Props>();
Expand Down Expand Up @@ -120,7 +117,7 @@
shards_num: currentSpecData!.shard_num,
resource_spec: {
mongodb: {
spec_id: props.data.specId,
spec_id: specInfo.spec_id,
count: currentSpecData!.machine_num,
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
</template>
<CapacityChange
v-model:is-change="isCapacityChange"
:cluster-type="ClusterTypes.MONGO_REPLICA_SET"
:data="capacityData" />
</DbSideslider>
<AccessEntry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
</template>
<CapacityChange
v-model:is-change="isCapacityChange"
:cluster-type="ClusterTypes.MONGO_REPLICA_SET"
:data="detailData" />
</DbSideslider>
<AccessEntry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@
v-model="formData.details.resource_spec.mongodb"
:biz-id="formData.bk_biz_id"
:cloud-id="formData.details.bk_cloud_id"
:cluster-type="ClusterTypes.MONGO_SHARED_CLUSTER"
:properties="{
capacity: 'details.resource_spec.mongodb.capacity',
specId: 'details.resource_spec.mongodb.spec_id',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
</template>
<CapacityChange
v-model:is-change="isCapacityChange"
:cluster-type="ClusterTypes.MONGO_SHARED_CLUSTER"
:data="capacityData" />
</DbSideslider>
<AccessEntry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@
</template>
<CapacityChange
v-model:is-change="isCapacityChange"
:cluster-type="ClusterTypes.MONGO_SHARED_CLUSTER"
:data="detailData" />
</DbSideslider>
<AccessEntry
Expand Down

0 comments on commit 293da53

Please sign in to comment.