Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bh_face_counter
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄天晨
bh_face_counter
Commits
8da6d24e
Commit
8da6d24e
authored
Jul 02, 2020
by
zeven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注释代码,修复闪退
parent
8b721d64
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
FacePage.js
src/pages/FacePage.js
+6
-6
No files found.
src/pages/FacePage.js
View file @
8da6d24e
...
@@ -3,8 +3,8 @@ import {View, Text, Image, Dimensions} from 'react-native';
...
@@ -3,8 +3,8 @@ import {View, Text, Image, Dimensions} from 'react-native';
import
AsyncStorage
from
'@react-native-community/async-storage'
;
import
AsyncStorage
from
'@react-native-community/async-storage'
;
import
{
connect
}
from
'react-redux'
;
import
{
connect
}
from
'react-redux'
;
// import {RtcEngineEvents} from 'react-native-agora/lib/RtcEvents';
// import {RtcEngineEvents} from 'react-native-agora/lib/RtcEvents';
import
RtcEngine
from
'react-native-agora'
;
//
import RtcEngine from 'react-native-agora';
import
{
RtcChannel
}
from
'react-native-agora'
;
//
import {RtcChannel} from 'react-native-agora';
import
Touch
from
'../components/Touch'
;
import
Touch
from
'../components/Touch'
;
import
PhoneModal
from
'../components/PhoneModal'
;
import
PhoneModal
from
'../components/PhoneModal'
;
import
VerifyCodeModal
from
'../components/VerifyCodeModal'
;
import
VerifyCodeModal
from
'../components/VerifyCodeModal'
;
...
@@ -294,10 +294,10 @@ class FacePage extends Component {
...
@@ -294,10 +294,10 @@ class FacePage extends Component {
this
.
wechatFace
();
this
.
wechatFace
();
}
else
if
(
count
===
0
)
{
}
else
if
(
count
===
0
)
{
// 重力感应归零
// 重力感应归零
clearInterval
(
this
.
noTalkCall
);
//
clearInterval(this.noTalkCall);
if
(
!
this
.
engine
)
{
//
if (!this.engine) {
this
.
engine
.
leaveChannel
();
//
this.engine.leaveChannel();
}
//
}
this
.
setState
({
this
.
setState
({
orderDetailsModal
:
false
,
orderDetailsModal
:
false
,
phoneModal
:
false
,
phoneModal
:
false
,
...
...
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