Merge PR #163: feat(前端): 用户管理页面添加 ID 列

This commit is contained in:
shaw
2026-01-05 15:47:47 +08:00

View File

@@ -669,6 +669,7 @@ const getAttributeValue = (userId: number, attrId: number): string => {
// All possible columns (for column settings)
const allColumns = computed<Column[]>(() => [
{ key: 'email', label: t('admin.users.columns.user'), sortable: true },
{ key: 'id', label: 'ID', sortable: true },
{ key: 'username', label: t('admin.users.columns.username'), sortable: true },
{ key: 'notes', label: t('admin.users.columns.notes'), sortable: false },
// Dynamic attribute columns