fix: oauth bind callback handling

This commit is contained in:
Seefs
2026-03-23 00:48:55 +08:00
parent deff59a5be
commit f40eb4e5d2
2 changed files with 4 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ const OAuth2Callback = (props) => {
return;
}
if (message === 'bind') {
if (data?.action === 'bind') {
showSuccess(t('绑定成功!'));
navigate('/console/personal');
} else {