From 49ac95fbbd0a50345c7bb119245432f8364cc1a8 Mon Sep 17 00:00:00 2001 From: lb Date: Fri, 1 Dec 2023 16:30:04 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E9=A3=8E=E6=9C=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Common/FanInfo/index.jsx | 2 +- src/store/features/fanInfo.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Common/FanInfo/index.jsx b/src/components/Common/FanInfo/index.jsx index 513d943..57f5a81 100644 --- a/src/components/Common/FanInfo/index.jsx +++ b/src/components/Common/FanInfo/index.jsx @@ -49,7 +49,7 @@ function FanInfo(props) { ], oddRowBGC: "#042444", evenRowBGC: "#042c4c", - columnWidth: [70, 96], + columnWidth: [50, 144], rowNum, hoverPause: false, data: attachStyle(data), diff --git a/src/store/features/fanInfo.js b/src/store/features/fanInfo.js index 7729cae..5ccf3c2 100644 --- a/src/store/features/fanInfo.js +++ b/src/store/features/fanInfo.js @@ -12,7 +12,7 @@ const fanInfoSlice = createSlice({ initialState, reducers: { setInfo: (state, action) => { - state.fanInfo = action.payload; + state.fanInfo = action.payload.fanInfo; }, }, });