Commit 201856f8 by zeven

修复重复提示请在手机付款

parent 8cb8c40a
......@@ -279,6 +279,12 @@ const CounterMixins = ComposeComponent => {
// 下单失败
Speech.speak(msg);
} else if (type === 'paying') {
if (this.isPaying) return;
this.isPaying = true;
clearTimeout(this.payingTimeout);
this.payingTimeout = setTimeout(() => {
this.isPaying = false;
}, 2000);
// 下单成功,等待用户支付
let count = 0;
this.props.dispatch({
......
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