feat: show ten points details in center

This commit is contained in:
hajimi
2026-08-03 02:59:27 +08:00
parent dc31f68219
commit 5ea9d6b8b1
@@ -102,7 +102,7 @@ const fetchData = async () => {
try { try {
const [stats, logs] = await Promise.all([ const [stats, logs] = await Promise.all([
request.get<any>({ url: '/community/userStats' }, { isTransformResponse: false }), request.get<any>({ url: '/community/userStats' }, { isTransformResponse: false }),
accountLog({ action: '', type: 'up', page_no: 1, page_size: 3 }) accountLog({ action: '', type: 'up', page_no: 1, page_size: 10 })
]) ])
if (stats?.code === 1) userPoints.value = Number(stats.data?.user_points || 0) if (stats?.code === 1) userPoints.value = Number(stats.data?.user_points || 0)
recentLogs.value = Array.isArray(logs?.lists) ? logs.lists : [] recentLogs.value = Array.isArray(logs?.lists) ? logs.lists : []