update WarnAlert

This commit is contained in:
lb
2024-04-19 17:03:43 +08:00
parent 9f7652d9f3
commit 9894aeca50
4 changed files with 34 additions and 7 deletions

View File

@@ -9,6 +9,7 @@ const alarmSlice = createSlice({
initialState,
reducers: {
setList(state, action) {
// action.payload 是 { 'A1_1_1': 'detail' } 的结构
console.log("[alarm store] setting list ---> ", action);
state.list = action.payload;
},