Skip to content

Commit

Permalink
fix(frontend): redis部署规格列表修复 #7886
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 23502
  • Loading branch information
jinquantianxia authored and iSecloud committed Nov 11, 2024
1 parent 04863c1 commit 92c64d3
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 92c64d3

Please sign in to comment.