custom col width persistent

This commit is contained in:
pa
2026-01-11 20:23:01 +09:00
committed by Natsumi
parent 8460c51706
commit 5fa2d4d465
7 changed files with 87 additions and 1 deletions

View File

@@ -76,6 +76,7 @@
);
const { table, pagination } = useVrcxVueTable({
persistKey: 'feed',
data: feedDisplayData,
columns: baseColumns,
getRowId: (row) => `${row.type}:${row.rowId}:${row.created_at ?? ''}`,

View File

@@ -157,6 +157,7 @@
);
const { table, pagination } = useVrcxVueTable({
persistKey: 'friendLog',
data: friendLogDisplayData,
columns,
getRowId: (row) => `${row.type}:${row.rowId ?? row.userId ?? row.created_at ?? ''}`,

View File

@@ -156,6 +156,7 @@
);
const { table, pagination } = useVrcxVueTable({
persistKey: 'gameLog',
data: gameLogDisplayData,
columns,
getRowId: (row) => `${row.type}:${row.rowId ?? row.displayName + row.location + row.time}`,

View File

@@ -145,6 +145,7 @@
);
const { table, pagination } = useVrcxVueTable({
persistKey: 'moderation',
data: moderationDisplayData,
columns,
getRowId: (row) => row.id ?? `${row.type}:${row.sourceUserId}:${row.targetUserId}:${row.created ?? ''}`,

View File

@@ -213,6 +213,7 @@
);
const { table, pagination } = useVrcxVueTable({
persistKey: 'notifications',
data: notificationDisplayData,
columns,
getRowId: (row) => row.id ?? `${row.type}:${row.senderUserId ?? ''}:${row.created_at ?? ''}`,

View File

@@ -278,6 +278,7 @@
const playerListDisplayData = computed(() => currentInstanceUsersData.value ?? []);
const { table: playerListTable } = useVrcxVueTable({
persistKey: 'playerList',
data: playerListDisplayData,
columns: playerListColumns.value,
getRowId: (row) => `${row?.ref?.id ?? ''}:${row?.displayName ?? ''}:${row?.photonId ?? ''}`,