feat: bugfix
This commit is contained in:
@@ -499,9 +499,6 @@ const communityDataSlice = createSlice({
|
|||||||
state[totalKey] = total;
|
state[totalKey] = total;
|
||||||
state[cachedCountKey] = state[stateKey].length; // 简化:不再有 null 占位符
|
state[cachedCountKey] = state[stateKey].length; // 简化:不再有 null 占位符
|
||||||
|
|
||||||
[`state.${stateKey}.length`]: state[stateKey].length
|
|
||||||
});
|
|
||||||
|
|
||||||
state.loading[stateKey] = false;
|
state.loading[stateKey] = false;
|
||||||
state.lastUpdated[stateKey] = new Date().toISOString();
|
state.lastUpdated[stateKey] = new Date().toISOString();
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user