You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Securitypages/login/form.tsx no longer JSON.stringifies the password into localStorage when "Remember me" is checked. Only the username is persisted, and is rehydrated into the form on next visit (password field stays blank). The locale key + label changed from "Remember password" → "Remember me" / "记住账号".
Fix/login no longer force-sets arco-theme=light on mount, so dark-mode users bounced to the login page (e.g. after a 401) don't see a theme flash.
Fix Successful login now navigate('/') (with redirect-target restoration from location.state.from) instead of window.location.href = '/'. The page-reload was throwing away the TanStack Query cache that the login itself just warmed.
Fix The axios 401 interceptor now calls a router-aware navigate when one's been bound by the layout (bindNavigator in api/client.ts); falls back to location.href only when the interceptor fires before React mounts.
Cleanup Deleted utils/is.ts — isArray/isObject/isString had zero references, and isSSR was theatre in a Vite SPA. useStorage.ts and getUrlParams.ts lost their isSSR guards; useStorage also picked up a cross-tab storage event listener so two windows sharing the same arco-lang / arco-theme stay in sync.
Cleanup Stripped import React from 'react' from 32 .tsx files where the namespace wasn't actually referenced — Vite 7's automatic JSX runtime makes the default import dead weight.
UXFooter and pages/login/index.tsx now render env.appTitle instead of the hardcoded literal "Arco Design Pro". The login.form.title locale key is also localisation-neutral ("Sign in" / "登录") rather than baking the brand name into every translation.
Types Typed pages/profile/basic/{item,index}.tsx on BasicProfile (no more data: any / {} as any), pages/user/setting/header.tsx on UserInfo, pages/list/card/index.tsx on CardListBundle.