feat(profile): rebuild account settings page

This commit is contained in:
kate522 committed 2026-10-05 18:58:49 +08:00
1 parent f00c3faeaa
commit 346146b4fa
14 files changed
+609 -750

No files matched your search

+1 -1
View File
@@ -93,7 +93,7 @@
var url = new URL(window.location.href);
var action = url.searchParams.get('oauth_action');
if (['login', 'bind', 'error'].indexOf(action) === -1) return;
var userCenterOwnsBind = action === 'bind' && /\/user(?:\/settings)?\/?$/.test(url.pathname) && document.querySelector('[data-identity-root], .settings-section');
var userCenterOwnsBind = action === 'bind' && /\/user(?:\/settings)?\/?$/.test(url.pathname) && document.querySelector('[data-identity-root], [data-aksrt-settings-root]');
if (userCenterOwnsBind) return;
document.documentElement.dataset.aksrtOauthResultHandled = 'true';