Commit 7c419dfc authored by shaw's avatar shaw
Browse files

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

parents d20697be be60d1e7
...@@ -669,6 +669,7 @@ const getAttributeValue = (userId: number, attrId: number): string => { ...@@ -669,6 +669,7 @@ const getAttributeValue = (userId: number, attrId: number): string => {
// All possible columns (for column settings) // All possible columns (for column settings)
const allColumns = computed<Column[]>(() => [ const allColumns = computed<Column[]>(() => [
{ key: 'email', label: t('admin.users.columns.user'), sortable: true }, { 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: 'username', label: t('admin.users.columns.username'), sortable: true },
{ key: 'notes', label: t('admin.users.columns.notes'), sortable: false }, { key: 'notes', label: t('admin.users.columns.notes'), sortable: false },
// Dynamic attribute columns // Dynamic attribute columns
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment