修改用户登陆认证流程

This commit is contained in:
张成
2025-11-16 23:55:49 +08:00
parent 5f8fb9b1b3
commit abbfc27479
12 changed files with 229 additions and 99 deletions

View File

@@ -6,6 +6,7 @@ import "./scss/qweather-icons/qweather-icons.css";
import { useGlobalStore } from "./store/global";
import { removeStorage } from "./store/storage";
import { sceneRedirectLogic } from './utils/helper'
import { silentLogin } from "./services/loginService";
interface AppProps {
children: ReactNode;
@@ -24,6 +25,9 @@ class App extends Component<AppProps> {
// 这里可以自定义弹窗(或直接默认同意)
resolve({ event: 'agree' }); // 同意隐私协议
});
// 移除这里的静默登录调用,避免重复调用
// 静默登录在 home_pages/index.tsx 中统一执行
}
componentDidMount() {