Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
banma_credit
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hik_rn
project
banma_credit
Commits
41463039
Commit
41463039
authored
Sep 27, 2020
by
leiyongsheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加用户信息模块
parent
b9230dce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
index.js
+2
-2
src/test/NavigateEntryTest.js
+2
-2
No files found.
index.js
View file @
41463039
...
...
@@ -9,6 +9,6 @@ import { name as appName } from './app.json';
AppRegistry
.
registerComponent
(
appName
,
(
props
)
=>
{
console
.
log
(
'AppRegistry.registerComponent:'
+
props
);
//
return App;
return
NavigateEntryTest
;
return
App
;
//
return NavigateEntryTest;
});
src/test/NavigateEntryTest.js
View file @
41463039
...
...
@@ -105,7 +105,7 @@ class HomeScreen extends React.Component {
componentWillUnmount
()
{
console
.
log
(
'HomeScreen componentWillUnmount:'
+
JSON
.
stringify
(
this
.
props
.
route
.
params
));
}
show
App
Info
()
{
show
User
Info
()
{
BMCInfo
.
getUserInfo
((
result
)
=>
{
console
.
log
(
"获取用户信息,结果为:"
+
result
);
BMCUI
.
showConfirmDialog
(
result
,
'确定'
,
(
result
)
=>
{
...
...
@@ -165,7 +165,7 @@ class HomeScreen extends React.Component {
<
Text
style
=
{{
margin
:
10
}}
>
result
data
:
{
this
.
props
.
route
.
params
?.
post
}
<
/Text
>
<
Button
title
=
"show app info"
onPress
=
{
this
.
show
App
Info
}
onPress
=
{
this
.
show
User
Info
}
/
>
<
Button
title
=
"show login info"
...
...
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