Commit 5f682251 by zeven

优化屏幕自动休眠时间

parent 680b6433
...@@ -353,7 +353,7 @@ class FacePage extends Component { ...@@ -353,7 +353,7 @@ class FacePage extends Component {
this.setState({ this.setState({
talkCall: 2, talkCall: 2,
}); });
}, 20000); }, 30000);
} }
}; };
...@@ -386,7 +386,7 @@ class FacePage extends Component { ...@@ -386,7 +386,7 @@ class FacePage extends Component {
clearTimeout(this.wakeUpTimeout); clearTimeout(this.wakeUpTimeout);
this.wakeUpTimeout = setTimeout(() => { this.wakeUpTimeout = setTimeout(() => {
this.setState({sleep: true}); this.setState({sleep: true});
}, 30000); }, 18888);
}; };
render() { render() {
......
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