Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
cb21e756
authored
May 23, 2025
by
Apple\Apple
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
♻
️Refactor: Users Page
parent
04ba012f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
12 deletions
+11
-12
web/src/components/UsersTable.js
+0
-0
web/src/i18n/locales/en.json
+10
-1
web/src/pages/User/index.js
+1
-11
No files found.
web/src/components/UsersTable.js
View file @
cb21e756
This diff is collapsed.
Click to expand it.
web/src/i18n/locales/en.json
View file @
cb21e756
...
...
@@ -1433,5 +1433,13 @@
"100个"
:
"100 items"
,
"Midjourney 任务记录"
:
"Midjourney Task Records"
,
"任务记录"
:
"Task Records"
,
"兑换码可以批量生成和分发,适合用于推广活动或批量充值。"
:
"Redemption codes can be batch generated and distributed, suitable for promotion activities or bulk recharge."
"兑换码可以批量生成和分发,适合用于推广活动或批量充值。"
:
"Redemption codes can be batch generated and distributed, suitable for promotion activities or bulk recharge."
,
"剩余"
:
"Remaining"
,
"已用"
:
"Used"
,
"调用"
:
"Calls"
,
"邀请"
:
"Invitations"
,
"收益"
:
"Earnings"
,
"无邀请人"
:
"No Inviter"
,
"邀请人"
:
"Inviter"
,
"用户管理页面,可以查看和管理所有注册用户的信息、权限和状态。"
:
"User management page, you can view and manage all registered user information, permissions, and status."
}
\ No newline at end of file
web/src/pages/User/index.js
View file @
cb21e756
import
React
from
'react'
;
import
UsersTable
from
'../../components/UsersTable'
;
import
{
Layout
}
from
'@douyinfe/semi-ui'
;
import
{
useTranslation
}
from
'react-i18next'
;
const
User
=
()
=>
{
const
{
t
}
=
useTranslation
();
return
(
<>
<
Layout
>
<
Layout
.
Header
>
<
h3
>
{
t
(
'管理用户'
)}
<
/h3
>
<
/Layout.Header
>
<
Layout
.
Content
>
<
UsersTable
/>
<
/Layout.Content
>
<
/Layout
>
<
UsersTable
/>
<
/
>
);
};
...
...
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