This commit is contained in:
pa
2025-12-16 20:31:35 +09:00
committed by Natsumi
parent b7c97efeda
commit c6f8698209
2 changed files with 4 additions and 2 deletions

View File

@@ -31,7 +31,8 @@ export const useFeedStore = defineStore('Feed', () => {
prop: 'created_at',
order: 'descending'
},
rowKey: (row) => `${row.type}:${row.rowId ?? Math.random()}`
rowKey: (row) =>
`${row.type}:${row.rowId()}:${row.created_at ?? ''}`
},
pageSize: 20,
pageSizeLinked: true,

View File

@@ -70,7 +70,8 @@ export const useGameLogStore = defineStore('GameLog', () => {
prop: 'created_at',
order: 'descending'
},
rowKey: (row) => `${row.type}:${row.rowId ?? Math.random()}`
rowKey: (row) =>
`${row.type}:${row.rowId()}:${row.created_at ?? ''}`
},
pageSize: 20,
pageSizeLinked: true,