fix:登录和toast

This commit is contained in:
jingyun
2026-06-07 12:03:23 +08:00
parent 6c943f8394
commit 1f28a64e4f
6 changed files with 374 additions and 106 deletions
+7 -2
View File
@@ -151,8 +151,13 @@ final routerProvider = Provider<GoRouter>((ref) {
),
GoRoute(
path: AppRoutes.login,
pageBuilder: (context, state) =>
_slidePage(state: state, child: const LoginPage()),
pageBuilder: (context, state) {
final next = state.uri.queryParameters['next'];
return _slidePage(
state: state,
child: LoginPage(next: next),
);
},
),
GoRoute(
path: AppRoutes.institutionDetail,