Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ethan
/
appframe
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit eb7b0eec
authored
2026-06-03 16:24:05 +0800
by
tanghuan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
调整默认路由和登录界面路由
1 parent
25c15ce9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
lib/config/routes.dart
lib/config/routes.dart
View file @
eb7b0ee
...
...
@@ -21,7 +21,7 @@ import 'package:flutter/material.dart';
import
'package:go_router/go_router.dart'
;
final
GoRouter
router
=
GoRouter
(
initialLocation:
'/
loginQr
'
,
initialLocation:
'/
web
'
,
observers:
Platform
.
isIOS
?
[
LinkPageObserver
(),
IosGestureObserver
()]
:
[
LinkPageObserver
()],
routes:
<
RouteBase
>[
GoRoute
(
...
...
@@ -46,7 +46,8 @@ final GoRouter router = GoRouter(
path:
'/loginMain'
,
builder:
(
BuildContext
context
,
GoRouterState
state
)
{
// return const LoginMainPage();
return
const
LoginMainPageV3
();
// return const LoginMainPageV3();
return
const
LoginQrPageV3
();
},
),
GoRoute
(
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment