fix:登录退出页
This commit is contained in:
@@ -7,6 +7,7 @@ import '../data/providers.dart';
|
||||
import '../features/detail/report_detail_page.dart';
|
||||
import '../features/feed/feed_page.dart';
|
||||
import '../features/home/home_page.dart';
|
||||
import '../features/auth/login_page.dart';
|
||||
import '../features/institutions/institution_detail_page.dart';
|
||||
import '../features/institutions/institutions_page.dart';
|
||||
import '../features/listen/listen_page.dart';
|
||||
@@ -148,6 +149,11 @@ final routerProvider = Provider<GoRouter>((ref) {
|
||||
);
|
||||
},
|
||||
),
|
||||
GoRoute(
|
||||
path: AppRoutes.login,
|
||||
pageBuilder: (context, state) =>
|
||||
_slidePage(state: state, child: const LoginPage()),
|
||||
),
|
||||
GoRoute(
|
||||
path: AppRoutes.institutionDetail,
|
||||
pageBuilder: (context, state) {
|
||||
|
||||
Reference in New Issue
Block a user