Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
7c419dfc
Commit
7c419dfc
authored
Jan 05, 2026
by
shaw
Browse files
Merge PR #163: feat(前端): 用户管理页面添加 ID 列
parents
d20697be
be60d1e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/views/admin/UsersView.vue
View file @
7c419dfc
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment