Toggle navigation
Toggle navigation
This project
Loading...
Sign in
유희정
/
fwiot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
유희정
2019-12-18 18:15:26 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
07e190365a88b47da8a468e12673e93b7a12b775
07e19036
1 parent
709943ef
setting tab id 수정
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
source/AppTabNavigator/SettingTab.js
source/AppTabNavigator/SettingTab.js
View file @
07e1903
import
React
,
{
Component
}
from
'react'
;
import
{
View
,
Text
,
StyleSheet
,
TextInput
,
TouchableOpacity
,
Image
}
from
'react-native'
;
import
AddButton
from
'../component/AddButton'
import
{
delete_all_data
,
deleteId
}
from
'../component/DBhelper'
import
{
delete_all_data
,
deleteId
,
get_id
}
from
'../component/DBhelper'
var
date
=
new
Date
();
date
.
setHours
(
date
.
getHours
()
+
9
);
...
...
@@ -11,7 +11,7 @@ export default class SettingTab extends Component {
constructor
(
props
){
super
(
props
);
this
.
state
=
{
ID
:
'pi1'
,
ID
:
get_id
()
,
user
:
'user1'
}
}
...
...
@@ -41,7 +41,7 @@ export default class SettingTab extends Component {
this
.
setState
({
ID
:
''
})
//save_app_data()
delete_all_data
()
//
deleteId()
deleteId
()
this
.
props
.
navigation
.
navigate
(
'Login'
);
}
render
()
{
...
...
Please
register
or
login
to post a comment