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
3ced7b22
authored
Dec 16, 2021
by
peii
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
可显示配置title
parent
2959b174
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
app/containers/home/HomePage.js
app/reducers/module/login.js
app/containers/home/HomePage.js
View file @
3ced7b22
...
...
@@ -186,9 +186,10 @@ class HomePage extends Component {
}
render
()
{
let
{
navigation
}
=
this
.
props
let
{
navigation
,
sysProfiles
}
=
this
.
props
let
{
tabNames
,
tabIconNames
,
tabSelIconNames
,
initialPage
,
tabCodes
,
isRightExit
}
=
this
.
state
const
title
=
sysProfiles
.
OBS_MOBILE_APP_TITLE
||
'骨科智慧仓'
return
(
<
View
style
=
{
styles
.
home_container
}
>
<
StatusBarView
...
...
@@ -197,7 +198,7 @@ class HomePage extends Component {
barStyle
=
'light-content'
/>
<
SafeAreaView
style
=
{
safe_view
}
>
<
HeadBackItem
title
=
{
'骨科智慧仓'
}
navigation
=
{
navigation
}
isRightExit
=
{
isRightExit
}
/
>
<
HeadBackItem
title
=
{
title
}
navigation
=
{
navigation
}
isRightExit
=
{
isRightExit
}
/
>
<
ScrollableTabView
style
=
{
styles
.
bom_tab_box
}
initialPage
=
{
initialPage
}
...
...
@@ -297,7 +298,8 @@ const mapStateToProps = (state) => ({
loginState
:
state
.
login
.
loginState
,
userInfo
:
state
.
login
.
userInfo
,
token
:
state
.
login
.
token
,
global_domain_config
:
state
.
login
.
global_domain_config
global_domain_config
:
state
.
login
.
global_domain_config
,
sysProfiles
:
state
.
login
.
sysProfiles
,
})
const
mapDispatchToProps
=
(
dispatch
)
=>
({
...
...
app/reducers/module/login.js
View file @
3ced7b22
...
...
@@ -25,7 +25,8 @@ const defaultState = {
sysProfiles
:
{
OBS_SHOW_ORG_FLAG
:
'Y'
,
SUR_MOBILE_HISTORY_SALE_PRICE_SHOW_FLAG
:
'Y'
,
SUR_MOBILE_INV_PRODUCT_LINE_CATEGORY_FLAG
:
0
SUR_MOBILE_INV_PRODUCT_LINE_CATEGORY_FLAG
:
0
,
OBS_MOBILE_APP_TITLE
:
'骨科智慧仓'
}
}
...
...
@@ -33,7 +34,8 @@ const defaultState = {
export
const
originSysProfiles
=
{
OBS_SHOW_ORG_FLAG
:
'Y'
,
SUR_MOBILE_HISTORY_SALE_PRICE_SHOW_FLAG
:
'Y'
,
SUR_MOBILE_INV_PRODUCT_LINE_CATEGORY_FLAG
:
0
SUR_MOBILE_INV_PRODUCT_LINE_CATEGORY_FLAG
:
0
,
OBS_MOBILE_APP_TITLE
:
'骨科智慧仓'
}
export
default
login
=
(
state
=
defaultState
,
action
)
=>
{
...
...
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