"frontend/src/api/vscode:/vscode.git/clone" did not exist on "1854050df3be90d2556ee3bff220cb1705d04bcd"
Commit be60d1e7 authored by Yuhao Jiang's avatar Yuhao Jiang
Browse files

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

在用户列表中添加可选的 ID 列,方便与其他页面(如订阅管理)
显示的"用户 #ID"进行对照定位。

- ID 列位于用户列之后
- 支持排序
- 可在列设置中隐藏

🤖 Generated with [Claude Code](https://claude.ai/code

)
Co-Authored-By: default avatarClaude <noreply@anthropic.com>
parent ad2ff908
...@@ -1474,6 +1474,7 @@ const getAttributeValue = (userId: number, attrId: number): string => { ...@@ -1474,6 +1474,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