Skip to content

Commit

Permalink
fix(frontend): redis部署规格列表修复 TencentBlueKing#7886
Browse files Browse the repository at this point in the history
  • Loading branch information
jinquantianxia committed Nov 11, 2024
1 parent c7f40b3 commit d92c50e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dbm-ui/frontend/src/views/db-manage/redis/apply-ha/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
:city="formData.details.city_code"
:cloud-id="formData.details.bk_cloud_id"
:cluster-type="DBTypes.REDIS"
:machine-type="ClusterTypes.REDIS_INSTANCE"
:machine-type="MachineTypes.REDIS_TENDIS_CACHE"
style="width: 314px" />
</BkFormItem>
<BkFormItem
Expand Down Expand Up @@ -219,7 +219,7 @@
import { useApplyBase } from '@hooks';
import { ClusterTypes, DBTypes, TicketTypes } from '@common/const';
import { ClusterTypes, DBTypes, MachineTypes, TicketTypes } from '@common/const';
import DbForm from '@components/db-form/index.vue';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@
v-model="state.formdata.details.resource_spec.backend_group"
:biz-id="state.formdata.bk_biz_id"
:cloud-id="state.formdata.details.bk_cloud_id"
:cluster-type="typeInfos.cluster_type"
:machine-type="typeInfos.machine_type" />
:cluster-type="DBTypes.REDIS"
:machine-type="specClusterMachineMap[typeInfos.cluster_type]" />
</BkFormItem>
<BkFormItem
:label="t('访问端口')"
Expand Down Expand Up @@ -395,6 +395,8 @@
import { generateId } from '@utils';
import { specClusterMachineMap } from '../common/const';
import { redisClusterTypes, redisIpSources } from './common/const';
import BackendQPSSpec from './components/backend-spec/Index.vue';
import RecommendArchitectrue from './components/recommend-architectrue/Index.vue';
Expand Down

0 comments on commit d92c50e

Please sign in to comment.