Commit 7be9f9ca by zeven

优化人脸识别二维码弹窗消失

parent 012bfab3
{
"name": "zm-face-counter",
"version": "1.1.2",
"version": "1.1.5",
"private": true,
"scripts": {
"android": "react-native run-android",
......@@ -9,7 +9,8 @@
"lint": "eslint --ext .js index.js src",
"apk": "cd android && ./gradlew app:assembleRelease && cp ./app/build/outputs/apk/release/app-release.apk ../fcounter.apk",
"android-staging": "code-push release-react ZmFaceCounter-android android -t '1.0.0' --des '提升用户体验'",
"android-product": "code-push promote ZmFaceCounter-android Staging Production --des '提升用户体验'"
"android-product": "code-push promote ZmFaceCounter-android Staging Production --des '提升用户体验'",
"android-history": "code-push deployment history ZmFaceCounter-android Production"
},
"pre-commit": [
"lint"
......
......@@ -207,6 +207,7 @@ class FacePage extends Component {
verifyCodeModal: false,
current: 1,
tipsModal: false,
goTipsModal: false,
loadingModal: false,
sleep: true,
tip: '',
......@@ -399,6 +400,7 @@ class FacePage extends Component {
onCall = async () => {
await this.setState({
tipsModal: false,
goTipsModal: false,
type: '',
});
const {talkCall} = this.state;
......@@ -448,7 +450,7 @@ class FacePage extends Component {
this.setState({sleep: false});
clearTimeout(this.wakeUpTimeout);
this.wakeUpTimeout = setTimeout(() => {
this.setState({sleep: true, tipsModal: false});
this.setState({sleep: true, tipsModal: false, goTipsModal: false});
}, 18888);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment