fix:登录和toast
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user