临时存储当前选择的tab索引

This commit is contained in:
IndieKKY
2023-05-20 09:13:55 +08:00
parent 5656beceb2
commit d9d905facb
9 changed files with 52 additions and 19 deletions

View File

@@ -38,7 +38,7 @@ const Body = () => {
const checkAutoScroll = useAppSelector(state => state.env.checkAutoScroll)
const needScroll = useAppSelector(state => state.env.needScroll)
const totalHeight = useAppSelector(state => state.env.totalHeight)
const curSummaryType = useAppSelector(state => state.env.curSummaryType)
const curSummaryType = useAppSelector(state => state.env.tempData.curSummaryType)
const normalCallback = useCallback(() => {
dispatch(setCompact(false))