fix: modify
parent
f0366b0ec3
commit
d78a8a3bc5
|
@ -32,15 +32,11 @@ export const redisClusterTypeList = [
|
|||
{
|
||||
name: '三主三从',
|
||||
value: 'tmts'
|
||||
},
|
||||
{
|
||||
name: '三主三从2',
|
||||
value: 'tmts2'
|
||||
}
|
||||
]
|
||||
const translateArrToMap = (list: any[]) => {
|
||||
const map: any = {}
|
||||
list.forEach((item) => {
|
||||
list.forEach(item => {
|
||||
const { name, value } = item
|
||||
map[value] = name
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue