update 风机信息

This commit is contained in:
lb 2023-12-01 16:30:04 +08:00
parent 6eb4102863
commit 49ac95fbbd
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ function FanInfo(props) {
], ],
oddRowBGC: "#042444", oddRowBGC: "#042444",
evenRowBGC: "#042c4c", evenRowBGC: "#042c4c",
columnWidth: [70, 96], columnWidth: [50, 144],
rowNum, rowNum,
hoverPause: false, hoverPause: false,
data: attachStyle(data), data: attachStyle(data),

View File

@ -12,7 +12,7 @@ const fanInfoSlice = createSlice({
initialState, initialState,
reducers: { reducers: {
setInfo: (state, action) => { setInfo: (state, action) => {
state.fanInfo = action.payload; state.fanInfo = action.payload.fanInfo;
}, },
}, },
}); });