fix
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
2026-09-17 02:07:52 -06:00
parent a8de8f3932
commit 905ba2ee03

View File

@@ -323,7 +323,7 @@ const weeklyColumns: DataTableColumn<WeeklyRankItem>[] = [
{ {
title: renderTableTitle("排名", "streamline-emojis:flexed-biceps-1"), title: renderTableTitle("排名", "streamline-emojis:flexed-biceps-1"),
key: "rank", key: "rank",
width: 70, width: 100,
align: "center", align: "center",
// rank 是服务端给的周榜名次,不是行号 —— 换算回 Index 要的 0 基下标 // rank 是服务端给的周榜名次,不是行号 —— 换算回 Index 要的 0 基下标
render: (row) => h(Index, { index: row.rank - 1, page: 1, limit: 10 }), render: (row) => h(Index, { index: row.rank - 1, page: 1, limit: 10 }),