From d78a8a3bc5bc1c7d2ad2333da1a203820b03e28b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Tue, 12 Nov 2024 15:16:43 +0800 Subject: [PATCH] fix: modify --- src/views/task/graph/software/data.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 })