Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
zhangzhonghua
/
BoneHouse_Business_APP
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
59a41458
authored
Dec 20, 2021
by
peii
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'develop' into product
parents
240d87f1
0e787c26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
app/action/LoginAction.js
app/action/LoginAction.js
View file @
59a41458
...
@@ -177,11 +177,10 @@ export function getSysProfiles() {
...
@@ -177,11 +177,10 @@ export function getSysProfiles() {
}
}
requestSysProfile
(
global_domain_config
,
params
).
then
(
res
=>
{
requestSysProfile
(
global_domain_config
,
params
).
then
(
res
=>
{
console
.
log
(
profile_code
,
res
)
console
.
log
(
profile_code
,
res
)
if
(
res
.
error_code
===
0
)
{
let
value
=
R
.
pathOr
(
originSysProfiles
[
profile_code
],
[
'data'
,
'profile_value'
])(
res
)
let
value
=
R
.
pathOr
(
originSysProfiles
[
profile_code
],
[
'data'
,
'profile_value'
])(
res
)
if
(
isNotBlank
(
value
)
&&
!
isNaN
(
value
))
value
=
parseInt
(
value
)
if
(
isNotBlank
(
value
)
&&
!
isNaN
(
value
))
value
=
parseInt
(
value
)
dispatch
(
setSysProfiles
(
profile_code
,
value
))
dispatch
(
setSysProfiles
(
profile_code
,
value
))
}
})
})
}
}
...
...
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