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
+3 -1
View File
@@ -103,7 +103,9 @@ class ProfilePage extends ConsumerWidget {
AppButton(
label: '登录 / 注册',
expand: true,
onPressed: () => context.push(AppRoutes.login),
onPressed: () => context.push(
'${AppRoutes.login}?next=${Uri.encodeComponent(AppRoutes.profile)}',
),
),
],
const SizedBox(height: 18),