fixed: 移除回收站页面中已推送条数

This commit is contained in:
LittleBoy 2025-04-16 18:45:20 +08:00
parent a2b5df22f8
commit b7b15e7471

View File

@ -95,7 +95,7 @@ export default function RecycleIndex() {
}) })
} }
const refresh = () => { const refresh = () => {
loadPushedState(); // loadPushedState();
setParams(prev => ({...prev, pagination: {page: 1, limit: DEFAULT_PAGE_LIMIT.limit}, request_time: Date.now()})) setParams(prev => ({...prev, pagination: {page: 1, limit: DEFAULT_PAGE_LIMIT.limit}, request_time: Date.now()}))
} }
// const pusdedCount = useMemo(() => { // const pusdedCount = useMemo(() => {
@ -126,7 +126,7 @@ export default function RecycleIndex() {
<div className="flex items-center"> <div className="flex items-center">
<Space className="text-gray-400" size={20}> <Space className="text-gray-400" size={20}>
<span>{t('select.total', {count: data?.list?.length || 0})}</span> <span>{t('select.total', {count: data?.list?.length || 0})}</span>
<span>{t('history.pushed', {count: state.pushedCount})}</span> {/*<span>{t('history.pushed', {count: state.pushedCount})}</span>*/}
<span className={'text-blue-500'}>{t('select.selected_some', {count: checkedIdArray.length})}</span> <span className={'text-blue-500'}>{t('select.selected_some', {count: checkedIdArray.length})}</span>
</Space> </Space>
<button className="hover:text-blue-300 text-gray-400 ml-4" <button className="hover:text-blue-300 text-gray-400 ml-4"