Skip to content

Commit

Permalink
set no-jump registration
Browse files Browse the repository at this point in the history
  • Loading branch information
小滋润 committed Oct 29, 2024
1 parent fa8cdb8 commit f0c7c43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/view/user/login/user_login.dart
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ class UserLoginState extends State<UserLogin> {
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
TextButton(
onPressed: () => Navigator.pushNamed(context, UserRoutes.register),
onPressed: () => CommonToast.tipToast("不开放注册,请点击“游客模式”"),
child: const Text("注册账号")),
TextButton(
onPressed: () => Navigator.pushNamed(context, UserRoutes.forgetPassword),
onPressed: () => CommonToast.tipToast("不开放注册,请点击“游客模式”"),
child: const Text("忘记密码"))
],
),
Expand All @@ -109,7 +109,7 @@ class UserLoginState extends State<UserLogin> {
Widget buildLoginButton() {
return Align(
child: SizedBox(
height: 45.h,
height: 36.h,
width: 270.w,
child: ElevatedButton(
style: ButtonStyle(
Expand Down

0 comments on commit f0c7c43

Please sign in to comment.