Commit 6bcb1f25 by 黄日华

延长开门离店弹窗时间至25秒

呼叫客服按钮未响应修复
parent e1b7fe30
......@@ -597,7 +597,7 @@ const CounterMixins = ComposeComponent => {
clearTimeout(this.leaveModalTimeout);
this.leaveModalTimeout = setTimeout(() => {
this.setState({cloudFinishModal: false});
}, 20000);
}, 25000);
}
};
......
......@@ -360,22 +360,13 @@ class VerticalPage extends Component {
});
Speech.speak('正在接通中请稍候');
this.talkCall();
// clearInterval(this.noTalkCall);
// this.noTalkCall = setInterval(() => this.talkCall(), 10000);
// clearInterval(this.callTimeout);
// this.callTimeout = setTimeout(() => {
// clearInterval(this.noTalkCall);
// this.setState({
// talkCall: 2,
// });
// }, 30000);
}
this.setState({
hintVisible: true,
});
clearTimeout(this.callModalTimeout);
this.callModalTimeout = setTimeout(() => {
this.setState({hintVisible: false});
this.closeHint();
}, 60000);
};
......@@ -392,6 +383,7 @@ class VerticalPage extends Component {
};
talkCall = () => {
console.warn('talkCall:' + this.state.talkCall);
this.props.dispatch({
type: 'agora/talkCall',
});
......
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