diff --git a/src/views/task/graph/software/data.ts b/src/views/task/graph/software/data.ts index ab8b31d..c0310e5 100644 --- a/src/views/task/graph/software/data.ts +++ b/src/views/task/graph/software/data.ts @@ -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 })