Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
YH_RNComponent
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
于良
8 years ago
Commit
8e91e97636cb9596ff6086a9fea9e7f52eba00b7
1 parent
c6af6ffb
首页优化 review by chenlin
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
js/home/Home.js
js/home/containers/HomeContainer.js
package.json
js/home/Home.js
View file @
8e91e97
...
...
@@ -51,7 +51,7 @@ export default function native(platform) {
store
.
dispatch
(
setHost
(
this
.
props
.
host
));
store
.
dispatch
(
setServiceHost
(
this
.
props
.
serviceHost
));
store
.
dispatch
(
setChannel
(
channel
))
store
.
dispatch
(
loadChannelCachedData
());
return
(
<
Provider
store
=
{
store
}
>
<
HomeContainer
/>
...
...
js/home/containers/HomeContainer.js
View file @
8e91e97
...
...
@@ -107,7 +107,7 @@ class HomeContainer extends Component {
}
componentDidMount
()
{
//
this.props.actions.loadChannelCachedData();
this
.
props
.
actions
.
loadChannelCachedData
();
this
.
home
&&
this
.
home
.
trigggePullToRefresh
();
this
.
props
.
actions
.
setShowSimilarGuider
(
true
);
}
...
...
package.json
View file @
8e91e97
...
...
@@ -3,7 +3,9 @@
"version"
:
"0.0.1"
,
"private"
:
true
,
"scripts"
:
{
"start"
:
"sh replace-custom-components-file.sh && node_modules/react-native/packager/packager.sh"
"start"
:
"sh replace-custom-components-file.sh && node_modules/react-native/packager/packager.sh"
,
"ios"
:
"sh replace-custom-components-file.sh && node_modules/react-native/packager/packager.sh"
,
"android"
:
"sh replace-custom-components-file.sh && node_modules/react-native/packager/packager.sh"
},
"dependencies"
:
{
"apsl-react-native-button"
:
"^2.4.2"
,
...
...
Please
register
or
login
to post a comment