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 751e9aa5
authored
2025-12-10 15:43:20 +0800
by
Administrator
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bugfixed -- 关于手机号码登陆通过后的状态码
1 parent
679a6948
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/bloc/login_phone_cubit.dart
lib/bloc/login_phone_cubit.dart
View file @
751e9aa
...
@@ -141,7 +141,7 @@ class LoginPhoneCubit extends Cubit<LoginPhoneState> {
...
@@ -141,7 +141,7 @@ class LoginPhoneCubit extends Cubit<LoginPhoneState> {
}
}
var
result
=
await
_phoneAuthRepository
.
login
(
phone
,
verifyCode
);
var
result
=
await
_phoneAuthRepository
.
login
(
phone
,
verifyCode
);
if
(
result
[
'code'
]
!=
1
)
{
if
(
result
[
'code'
]
!=
0
)
{
emit
(
state
.
copyWith
(
showSnackBar:
true
,
snackBarMsg:
result
[
'error'
]));
emit
(
state
.
copyWith
(
showSnackBar:
true
,
snackBarMsg:
result
[
'error'
]));
return
;
return
;
}
}
...
...
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