Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
9e9bc52d
Commit
9e9bc52d
authored
Jan 13, 2025
by
周宏民
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改登录 短信验证码 会出现 图形验证的bug,修改短信验证接口错误处理
parent
f7db64cf
Pipeline
#95196
waiting for manual action with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
reducer.js
src/containers/App/store/reducer.js
+1
-1
LoginItem.js
src/pages/user/login/components/Login/LoginItem.js
+2
-2
No files found.
src/containers/App/store/reducer.js
View file @
9e9bc52d
...
...
@@ -104,7 +104,7 @@ const appReducer = (state = initialState, action) => {
action
.
data
.
verificationCodeTimeOut
||
action
.
data
.
VerificationConfig
?.
VerificationCodeTimeOut
||
1
;
temp
.
verificationCodeType
=
action
.
data
.
verificationCodeType
||
temp
.
isVerificationCode
?
action
.
data
.
VerificationConfig
?.
VerificationCodeType
||
''
?
action
.
data
.
verificationCodeType
||
action
.
data
.
VerificationConfig
?.
VerificationCodeType
||
''
:
''
;
// temp.isVerificationCode 为false 时,不能用短信验证码
// 密码校验
...
...
src/pages/user/login/components/Login/LoginItem.js
View file @
9e9bc52d
...
...
@@ -211,11 +211,11 @@ const LoginItem = props => {
client
,
})
.
then
(
res
=>
{
if
(
res
?.
isSuccess
)
{
if
(
res
?.
data
?.
isSuccess
)
{
setExt
(
res
.
ext
);
setTiming
(
true
);
}
else
{
res
?.
msg
&&
message
.
error
(
res
.
msg
);
res
?.
data
?.
msg
&&
message
.
error
(
res
.
data
.
msg
);
}
})
.
catch
(
error
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment