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
83fc8cf8
authored
Sep 22, 2025
by
Seefs
Committed by
GitHub
Sep 22, 2025
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1769 from QAbot-zh/fix/account-status
fix:Account Management Status
parents
9ba37555
2d893d25
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
web/src/components/settings/personal/cards/AccountManagement.jsx
+6
-5
No files found.
web/src/components/settings/personal/cards/AccountManagement.jsx
View file @
83fc8cf8
...
...
@@ -165,9 +165,10 @@ const AccountManagement = ({
{
t
(
'微信'
)
}
</
div
>
<
div
className=
'text-sm text-gray-500 truncate'
>
{
userState
.
user
&&
userState
.
user
.
wechat_id
!==
''
?
t
(
'已绑定'
)
:
t
(
'未绑定'
)
}
{
renderAccountInfo
(
userState
.
user
?.
wechat_id
,
t
(
'微信 ID'
),
)
}
</
div
>
</
div
>
</
div
>
...
...
@@ -179,7 +180,7 @@ const AccountManagement = ({
disabled=
{
!
status
.
wechat_login
}
onClick=
{
()
=>
setShowWeChatBindModal
(
true
)
}
>
{
userState
.
user
&&
userState
.
user
.
wechat_id
!==
''
{
userState
.
user
&&
userState
.
user
?.
wechat_id
?
t
(
'修改绑定'
)
:
status
.
wechat_login
?
t
(
'绑定'
)
...
...
@@ -298,7 +299,7 @@ const AccountManagement = ({
</
div
>
<
div
className=
'flex-shrink-0'
>
{
status
.
telegram_oauth
?
(
userState
.
user
.
telegram_id
!==
''
?
(
userState
.
user
?.
telegram_id
?
(
<
Button
disabled=
{
true
}
size=
'small'
>
{
t
(
'已绑定'
)
}
</
Button
>
...
...
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